8 Replies Latest reply on Nov 9, 2016 10:13 AM by just.emma

    How to stop a looped movieClip with a button click in HTML5 canvas document?


      I'm a beginner with AnimateCC and coding, and am struggling with finding the right javascript coding, or whatever it is going to take, to make a looped animation/ currently playing movieClip stop upon a button click in my HTML5 canvas document. I've tried variations of this.stop(); including when you call the specific movieClip name in the code, and cannot get anything to work.


      It'd be even better if upon a button click the current movieClip could stop at a specific timeframe within that clip.


      Is this possible? Any help would be much appreciated!


      - Amanda



      Also, if you need to see coding to see what I'm doing wrong or where to help, let me know and I can send a screenshot.