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

Banner ad HTML5 export does not freeze last frame at end

Contributor ,
Jun 02, 2018 Jun 02, 2018

When I preview the banner ads I've created in Animate, the timeline works perfectly.

After I publish these ads to HTML, something goes wrong:

At the end of the 15 seconds I've allotted for each ad, the ad space turns to the background color I have set, instead of freezing on the last frame.

1.7K
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

correct answers 1 Correct answer

Community Expert , Jun 02, 2018 Jun 02, 2018

do you have a this.stop() on your last frame?

Translate
Community Expert ,
Jun 02, 2018 Jun 02, 2018

do you have a this.stop() on your last frame?

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
Contributor ,
Jun 03, 2018 Jun 03, 2018

I don't see an option to apply a "stop" to the timeline. How do I do that?

In the past, my banner ads would always just freeze on the last frame.

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 ,
Jun 03, 2018 Jun 03, 2018

Do you have any code in your banner at all?

if so share with us your code.

Have you opened up the actions panel?

looks like this...

Screen Shot 2018-06-03 at 10.12.42 AM.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
Contributor ,
Jun 03, 2018 Jun 03, 2018

How can I make this happen without code? It's never been a problem before.

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
LEGEND ,
Jun 03, 2018 Jun 03, 2018

Publish Settings has a Loop Timeline option, if you uncheck that, and make sure that there are no frames, even empty ones, later in the timeline than where you want to stop, that might fix it.

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 ,
Jun 03, 2018 Jun 03, 2018

you add:

this.stop()

to the actions panel at the last frame of your main timeline.

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
Contributor ,
Jun 03, 2018 Jun 03, 2018

I don't code 😞

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
Contributor ,
Jun 03, 2018 Jun 03, 2018

But I guess I could try…

I'd really like to solve this without doing that. It's never been a problem before.

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
Enthusiast ,
Jun 03, 2018 Jun 03, 2018

Publishing settings, canceling selection of the loop timeline.

It's really painful for animators to use code.

The same animators have the same feeling.

You can, window-code fragment.

Select the frame you want the movie to end

open -html5 canvas--Time Axis Navigation---Stop at this frame

When you double-click, you add code

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
Contributor ,
Jun 04, 2018 Jun 04, 2018

The option for loop is turned off.

Hmmmm…like I said, I don't know why this is a new problem. It's never been a problem before. For all other banner ads I've created, I simply needed to make sure the that the last frames were the frame I wanted the animation to stop at. That's what I've done.

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 ,
Jun 04, 2018 Jun 04, 2018

how painful can it be to add this.stop()?

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
Contributor ,
Jun 04, 2018 Jun 04, 2018

THANK YOU ALL.

Although, I still don't have an answer to why this is happening for the first time ever, I DO have a solution that will work and that is to add the code you shared (and is simple enough).

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 ,
Jun 04, 2018 Jun 04, 2018
LATEST

you're welcome.

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