-
I have a movie clip containing 15 buttons that when any one is clicked, I want the movie to reference a single set of exit frames and ocntinue on into the next scene. Once it reaches the next scene, I want the same "click" to reference two more labels inside another movie clip.
I am pretty sure that I can accomplish referenceing the movie clip in the second scene via tell target, but I do not want to have to repeat the exit frames 15 times with a single action at the end of each exit.
Is it possible to write a script that will make all buttons play the same exit frames, and then reference the appropriate labels in the movie clip on the next scene?
-
You can reference frame labels with variables. So if you have each button set a variable to the name of the particular destination's label, you can put a go to statement at the end of the exit frames and use the variable as the target. You just need to put it in the expression field.
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
|