Skip to main content
Participant
July 28, 2019
Answered

Animate cc - html doesn't run in browser

  • July 28, 2019
  • 3 replies
  • 17751 views

Hi,
I want to make a html canvas. Ok, in animate it's all right and I can test the project from animate to the browser.
But, after the export it (html-file) doesn't run in the browser (Safari, Chrome, Firefox), if I copy it in the browser, as in this example: Adobe Animate CC: Add to HTML web page (Updated Version) - YouTube
It also doesn't run if I put it in a subdirectory on my website and try a link. But why?

    Correct answer ClayUUID

    1) Animate HTML content generally won't run from the local file system due to overzealous browser security restrictions.

    2) You can't just throw the HTML file on your web server. You also have to upload the resource folders that Animate generates, in the same relative locations to the HTML file.

    3 replies

    melonmanAuthor
    Participant
    July 29, 2019

    Thanks, the folder was in the wrong directory. Now it works :-)

    Participant
    February 29, 2020

    I have the same problem but I haven't moved my files... I don't get it 😞 

    Participant
    June 5, 2020

    Hi ! have you find a solution ? my buttons don't run in the browser chrome, safari... just Edge

    ClayUUIDCorrect answer
    Legend
    July 29, 2019

    1) Animate HTML content generally won't run from the local file system due to overzealous browser security restrictions.

    2) You can't just throw the HTML file on your web server. You also have to upload the resource folders that Animate generates, in the same relative locations to the HTML file.

    CharlesCaptain
    Participating Frequently
    January 28, 2020

    I'm having the same issue, but I don't think it's the file location.  I keep getting "failed to load resource: server responded with a status of 500" error from the first line of my Javascript.

    What do I do about the overzealous browser security settings you mentioned?  Run it from the server?  How do I do this?

    Community Expert
    July 28, 2019