-
[F8] Actionscripts for buttons
when button1 is clicked AFTER movieclip1 is played, movieclip2 is played. So I am trying to write this actionscript on the last frame of movieclip1.
How do I do this? I tried:
Code:
On(button1.release) {
(_rootmovieclip2.gotoAndPlay (15))
}
But I got a syntax error!!! What do I do??? Please help! Really am stuck.
-
you need to use
_root.movieClip2.gotoAndPlay (15);
-
But I only want movieclip2 to play if button1 is clicked after movieclip1 is played. That make sense? basically in this order:
movieclip1 - plays
button1 - clicked
movieclip2 - plays
-
I think he's saying you have a typo there.
Does the button have to be active the whole time? If not, I think there's a actionscript property that sets whether or not a button is active. Then you could just set it to True or False if your frame has played.
Maybe some else can expand on that idea.
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
|