Skip to main content
Known Participant
May 14, 2018
Answered

Button/Action script stopping publish

  • May 14, 2018
  • 1 reply
  • 631 views

Hi,

I'm working on a banner for a client and we need a replay button on the end frame so they can manually restart the ad.

I brought in a png and upon previewing/test in browser it was perfect but once published the button no longer worked, the ad played but the button wasn't clickable - I read somewhere that the button won't work with bitmap images so I broke the image down. Now I can preview/test the ad on the browser fine like before and the button works but if I publish the HTML file it won't play the ad. If I remove the button the ad plays.

Does anybody know why my button is stopping the whole ad from playing once published?

Here are my output warnings:

WARNINGS:

** 13 Bitmaps packed successfully into 2 spritesheet(s).

Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (67)

Only circular (not oval) radial gradients are supported. (198)

Shadow and glow filters are very expensive effects, and not all options are supported. (25)

Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (53)

Applying "cache as bitmap" to an animated instance will prevent the animation from updating. (53)

Feature not supported: Bevel, gradient glow, and gradient bevel filters. (14)

Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.

Motion tweens are published as frame by frame animations. Use classic tweens where possible. (180)

Thanks,

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Hi.

I would myself solve all these warnings related to effects/gradients not supported first and then I would see what happens.

1 reply

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
May 14, 2018

Hi.

I would myself solve all these warnings related to effects/gradients not supported first and then I would see what happens.

Known Participant
May 14, 2018

It's something to do with the button, I've replaced it with a movieclip and it seems to work fine now apart from the fact I don't have a roll over effect ect. Strange as i've used buttons before and assigned 'go to and play' so not too sure why its not working now, on all 9 ads too. Thanks for your response though!