Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

116 users online



please Read...help me...

please Read...help me...

Currently viewing this thread: 1 (0 members and 1 guests)


phortay

phortay

Status: Offline!

please Read...help me...

I am creating a simple button that controls a movie clip. The movie clip is masked underneath the button...the movie clip slides out from underneath the button and mask upon mouseclick. My problem is:

I am using a variable to control the playhead in the movie...example:
if movie=0....play slideout
if movie=1...play slidein...

however, I can not get flash to choose the right variable....I think I am initalizing the movie variable incorrectly...soooo...where do I initialize the movie variable?

thanx in advance....
holla back

___________________

Learn&return

aashu

aashu

Status: Offline!

initialize your variables on main timeline and also change it on it only ...

like following:

Init.

_root.movie_status = 0;

so 1st time you hav to play movie slideout ...

then whenever your state changes ... change the value by ..

_root.movie_status = 1;

so next time you button will play slide in ...

hope this is enough ...

___________________

Aashu = THE DIGITAL BLAST

http://www.aashu.f2s.com

aashu@f2s.com

phortay

phortay

Status: Offline!

Thanx for your help aashu...and yes that was enough...I eventually figured it out...my problem was my reference to the variable...since I had it in a movie click and was calling from a button...I had to use the correct syntax for the generator to see it....thanx a heap

hollaback

___________________

Learn&return

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0059 seconds.