Skip to main content
New Participant
July 28, 2019
Answered

Animate cc - html doesn't run in browser

  • July 28, 2019
  • 3 replies
  • 17691 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
    New Participant
    July 29, 2019

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

    New Participant
    February 29, 2020

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

    JoãoCésar17023019
    Inspiring
    March 22, 2022

    Hello, 

    Thank you for your reply! 

    This is my client's website which I made in 2019, I haven't touched it and no one has access to it, but suddenly, all the animations disappeared, and I have no idea why. 

    https://psychotherapie-couple-famille-lausanne.ch/

    The website is made on WP and the animations inserted with an iframe. 

    What should I do? 

    Thank you in advance! 




    It's because createjs.com is unstable since yesterday.

     

    https://community.adobe.com/t5/animate-discussions/getting-the-quot-net-err-name-not-resolved-quot-error/m-p/12829225

     

    https://twitter.com/CreateJS/status/1505921948483678211

    https://twitter.com/CreateJS/status/1505923199778787333

    https://twitter.com/CreateJS/status/1505956863682433024

    https://twitter.com/CreateJS/status/1506270997825011720

    https://twitter.com/CreateJS/status/1506281565948628993

     

    We're waiting for it to get fixed soon.

     

    ClayUUIDCorrect answer
    Brainiac
    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?

    Brainiac
    July 28, 2019