Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

this.stop(); prevents preview working

New Here ,
May 17, 2019 May 17, 2019

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

225
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2019 May 17, 2019

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

if so, what's your console show?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2019 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();

Screen Shot 2019-05-18 at 6.46.47 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2019 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2019 May 20, 2019
LATEST

did you click control>test movie>in browser?

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines