Skip to main content
duncolner
Participating Frequently
May 23, 2018
Answered

HTML5 Canvas Button publish issue

  • May 23, 2018
  • 1 reply
  • 343 views

Hopefully someone can answer this probably silly question I have. I have produced a HTML5 canvas ad which contains a Button symbol with all four states key framed. When this is tested everything works correctly, however when I publish this file the button states do not either work or work once and turn off. It can be quite annoying. Seems to do it mostly in Safari, less so in Firefox and chrome.....Absolutely any ideas??

This topic has been closed for replies.
Correct answer Colin Holgate

I thought to say something like that, but given the mention of Firefox, and no mention of iOS or Android, I assumed it's for desktop.

Are any of the states using bitmaps? There are security issues that wouldn't show up in a test from Animate, but would from local testing. What happens when you test from a server?

1 reply

kglad
Community Expert
Community Expert
May 23, 2018

a button state like over makes no sense on touch devices.  just use down and up states.

Colin Holgate
Colin HolgateCorrect answer
Inspiring
May 23, 2018

I thought to say something like that, but given the mention of Firefox, and no mention of iOS or Android, I assumed it's for desktop.

Are any of the states using bitmaps? There are security issues that wouldn't show up in a test from Animate, but would from local testing. What happens when you test from a server?

duncolner
duncolnerAuthor
Participating Frequently
May 24, 2018

Hi Colin,

Thank you for your help. You assumed correct, this ad isn't being used on mobile devices just desktop. The button symbol is literally just text and a box. I have uploaded to our server this morning and everything seems to be working correctly, maybe this is just a local issue? Just seemed strange how it would decide to work at random.

Many thanks once again for your contribution.