Very very simple to most of you im sure…but i’m just learning AS3 and need some basic help…
I have a button in my movie clip that I want to be able to control the main timeline with upon clicking.
I’d started with this:
nextbutton_mc.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
play();
}
nextbutton_mc.buttonMode = true;
…but “play();” here obviously only controls the movie clip itself as opposed to the main timeline level. How can I control the main timeline? What would I put in place of “play();” to start a stopped timeline?
Thanks in advance.