
November 24th, 2001
06:57 PM
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

November 25th, 2001
05:11 AM
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

November 26th, 2001
04:33 AM
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