Hello,
I posted this in the General Discussion Forum, but maybe it's more of a Newbie Question so here it is again.....
I seem to be having a problem with a "Button" i created inside of a
"Movie Clip"....
I simply wanted to create an animated button with 2 seperate animations for (rollOver & rollOut) states....
I used 2 frame labels to tell the button where in the timeline to go depending on whether the mouse rolls over or away from the button.
The animations do work fine.....but, the button doesn't seem to work once clicked (nothing basically happens) even tho i have used the correct syntax to point it to a new "Scene" in my Flash Movie.
However, when i copy/pasted all the animations and button to an "Empty New Scene"......(not within a Movie Clip anymore)....the Button seemed to work. I Don't understand why it won't work inside a Movie Clip?
This is the code i have used for the button:
on (rollOver, dragOver) {
gotoAndPlay("s1");
}
on (rollOut, dragOut) {
gotoAndPlay("s2");
}
on (release) {
gotoAndStop("Scene 2", 1);
}
Can anyone shed some light on this please?
>> Stay informed about: Newbie Problem with my Animated Button.....