Hey, I’m very new to flash and thought I’d join the forums as I’m sure to have many problems in future!
My issue at the moment is trying to make a Button (early_btn) within a Movie Clip, on the 10th frame of the MC, go to frame 2 on the stage when clicked
Here’s the code I have:
function histEarly(event:MouseEvent):void{
event.target.parent.gotoAndStop(2);
}
early_btn.addEventListener(MouseEvent.CLICK, histEarly);
There are no errors when exported but nothings happening!
Should the AS be in the MovieClip where the button is? Or should it be on the stage? Or even a completely different code?!
Thanks!
Jimmy