Friday, 15 May 2015

actionscript 2 - Flash AS2 play/stop movieclip on Button click -



actionscript 2 - Flash AS2 play/stop movieclip on Button click -

so have button. on click

on (release) { gotoandstop (91)}

on frame 91 have movieclip.

and within movieclip i've used stop(); stop animation repeating. when click on button again. wont animate. stopped permanently.

i want able maintain clicking on button runs animation once.

what do?

thanks!

that's expected behaviour. movieclip @ frame 91 , stays there when utilize gotoandstop(91), nil changes, nil restarts , no frame scripts executed.

if want command inner movieclip, need give instance name , utilize instancename.play() or instancename.gotoandplay() on restart animation. create sure instance available when seek command it.

flash actionscript-2

No comments:

Post a Comment