
February 6th, 2002, 02:38 PM
|
|
Junior Member
|
|
Join Date: Feb 2002
Posts: 15
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
goto a frame based on a variable
I have a movie clip which I want to go to a certain frame based on a var on the mail time line.
I put this script action into a key frame in the 1st frame on the clip timeline:
if (_root.v1=a) {
gotoAndStop ("a");
}
if the var a on the main time line equals a then goto frame label a on the clip...
Where did I go wrong? this does not work
Thanks
|