Hi Guys,
I have this problem, Im busy writing a circle Navigation flash, Different buttons must trigger playing of the main animation and main timeline from current frame to a certain frame(172), im Used to AS1, but struggling with AS3, Ive got a Frame counter, as soon as i trigger my button it plays only frame 1, nothing else, ive added MovieClip(parent).play(); to force it to play after my eventlistner.
but then it doesnt stop at the required frame, ive got a frame box to see what frames are playing, so got a good idea where in the time line im going.
trace(MovieClip(parent).currentFrame);
download.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_11);
{
function fl_ClickToGoToScene_11(event:MouseEvent):void
{
//MovieClip(parent).gotoAndStop(172,“Scene 1”);
MovieClip(parent).play();
trace(currentFrame);
if (MovieClip(parent).currentFrame == 172 )
{
MovieClip(parent).gotoAndStop(172 , “Scene 1”);
stage.removeEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_11);
}
}
}
after my argument ive tried MovieClip(parent).stop(); as well, does the same thing?
am I missing something small? any help will be greatly appreciated.