|
-
Movieclip Button - New Glitch?
Hey everyone!
Okay, well I'm not new to Flash, and recently recieved a copy of the new CS3design package (for school). Anyways, I have a Flash Animation that's due on Tuesday, but I've run into a bit of a problem.
I have a movieclip that acts as a button (but it animates and whatnot), however, when I place the code:
code:
on (release){
_root.gotoAndPlay("Animation",1);
}
It doesn't go, just a quick flicker on the SWF window, that's it. If I do the same code, in the same file on an oridnary button, it works fine. This never happened to me before in Flash 8.
Can anyone help me out, times running out.
-
You should stop putting code ON objects (like we used to do when flash was at version 5).
give the movieClip an instance name, for example myButtonClip. On the Animation Scene frame 1, enter the label "animation" And write, as frame action:
PHP Code:
myButtonClip.onRelease = function() {
_root.gotoAndPlay("animation");
};
gparis
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
|