Skip to main content
Participant
Jul 28, 2019 4:29 PM UTC
Answered

Animate cc - html doesn't run in browser

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?

    ClayUUIDCorrect answer
    Legend
    Jul 29, 2019 6:45 AM UTC

    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.

    14 replies

    melonmanAuthor
    Participant
    Jul 29, 2019 9:00 AM UTC

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

    Translate
    Participant
    Feb 29, 2020 12:21 PM UTC

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

    Translate
    Participant
    Jun 5, 2020 9:16 AM UTC

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

    Translate
    ClayUUIDCorrect answer
    Legend
    Jul 29, 2019 6:45 AM UTC

    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.

    Translate
    CharlesCaptain
    Participating Frequently
    Jan 28, 2020 2:56 AM UTC

    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?

    Translate
    Community Expert
    Jul 28, 2019 11:57 PM UTC