Skip to main content
Participant
May 17, 2019
Question

this.stop(); prevents preview working

  • May 17, 2019
  • 2 replies
  • 297 views

I have just built a HTML5 Banner using Adobe Animate, and I do wish it to stop looping. A lot of people have complained that this.stop(); isn't working. However for me after I have added this into actions, and press CTRL ENTER to preview the animation -- i just get a blank page. When i remove this.stop(); it works fine. So there is something wrong with this script.

I can't find the setting about combined Sprint files either.

Any ideas what is going on here?

Thanks

    This topic has been closed for replies.

    2 replies

    Community Expert
    May 18, 2019

    where are you putting the stop? it should be at the end of your animation in the timeline.

    /*

    Stop a Movie Clip/Video

    Stops the specified movie clip or video.

    */

    _this.stop();

    Participant
    May 20, 2019

    The stop action is at the very end of the banner on the last keyframe, and there are no errors in the console. Its just blank.

    kglad
    Community Expert
    Community Expert
    May 20, 2019

    did you click control>test movie>in browser?

    if so did you check the developer's console in your browser?

    kglad
    Community Expert
    Community Expert
    May 17, 2019

    is this.stop() attached to the last frame of the main timeline?

    if so, what's your console show?