|
-
Who needs pants?
GotoAndSotp number in array.
I have 2 mcs on the stage one is the duplicate of the other so they have the same actions. On the main timeline i have an array.
number = new Array( 4,2,1,5,7,3,7,6,4);
on the movieclips i have an if statement that when they reach a certian _y cord for them to gotoAndStop at the next corrorsponding frame according to the array. But instead of going to the next number in the array i want it to move 2 so just say its last number was number[1] which equals 2 the next postition for it to go to is number[1] + 2; which means its next position is number[3] which equals 5. I have tried this over and over but it doesnt seem to work properly it adds 2 to the number[#] instead of moveing 2 in the array can anyone help.
Thanks in AdvancE
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|