Skip to main content
vigneshvicky
Known Participant
January 1, 2017
Answered

Html5Canvas

  • January 1, 2017
  • 3 replies
  • 9582 views

hi ,

    i am using adobe animate cc ..i have problem in using html5canvas while publish in html some times its not working properly and when i use images in file its not working in chrome and internet explorer , i missing something i dont  know what am missing ,Html5canvas file is not working in offline its working only when have internet connection  ...can u pls anyone help ..

  Thanks in advance .

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from Comments forum to specific Program forum... Mod]

This topic has been closed for replies.
Correct answer ClayUUID

You should have been opening the developer console in Chrome to see if there are any error messages.

Go into your publish settings and disable spritesheets, if it's still enabled.

3 replies

vigneshvicky
Known Participant
January 2, 2017

And also when i import a image in stage and convert to movieclip and add event to a moviclip , and published means not working in chrome ,but working in firefox ...i dont know what to do ..plz help

ClayUUIDCorrect answer
Legend
January 2, 2017

You should have been opening the developer console in Chrome to see if there are any error messages.

Go into your publish settings and disable spritesheets, if it's still enabled.

vigneshvicky
Known Participant
January 3, 2017

In developer console its showing error ..."Uncaught An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images." can u say the solution for this problem ...thanks in advance

just.emma
Inspiring
January 2, 2017

"Html5canvas file is not working in offline its working only when have internet connection"

This is probably because by default, your published files will reference the CDN-hosted versions of the CreateJS libraries, which requires an internet connection.

In Publish Settings > Advanced, you can uncheck "Hosted Libraries" to publish a copy locally and reference that instead.

vigneshvicky
Known Participant
January 2, 2017

thank you for your reply.....no its not working ..if i dont have a internet connection while publishing its showing blank page  in browser...plz help thanks in advance

kglad
Community Expert
Community Expert
January 2, 2017

click file>publish settings>advanced>untick 'hosted libraries' as suggested in message 2.

kglad
Community Expert
Community Expert
January 1, 2017

is it working in any browser?

have your uploaded your files to a server?  if so, what's the url to your html page?

vigneshvicky
Known Participant
January 2, 2017

hi ...its working fine in firefox and latest internet explorer ,but it is not working in chrome ,when i replace with vector instead of images then its working ..i cant control through code while opened in chrome browser ..i attached a link of my files  ,plz help ..thanks in advance .. Dropbox - JS.rar