-
mc syntax question
I have a movie clip with three sections (separated by frame labels) in it. I want to add mouse out/over events for the instance of this clip that trigger it to "gotoandplay" different frames. What is the syntax I need to apply on the instance of the movie?
I started off with:
mc_clip1.onRollOver {
gotoAndPlay(this.'scene1');
mc_clip1.onRollOut {
gotoAndPlay(this.'scene2');
etc.
Thx
-
Senior Member
Code should be on a frame in the same timeline as the movieclip is on. If you refer to framelabels....
mc_clip1.onRollOver=function() {
mc_clip1.gotoAndPlay("myFrameLabel");
}
-
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
|