AS3 go to main timeline
i have movieclip in movieclip button, when clicked should go main timeline have done as2, script below. how can accomplish in as3.
on (release) {
_root.gotoandstop(785);
}
thanks in advance
yourbutton.addeventlistener(mouseevent.click,f);
function f(e:event){
movieclip(root).gotoandstop(785);
}
More discussions in ActionScript 3
adobe
Comments
Post a Comment