Skip to main content
Inspiring
November 9, 2018
Answered

Adding an Animate CC file to Dreamweaver

  • November 9, 2018
  • 2 replies
  • 1340 views

I'm testing out adding an animation I made in Animate CC to my website. I have followed all the instructions for publishing in Animate CC as well as adding the .oam file to the website, but it is not working. The file previews in Dreamweaver, but it does not show up when viewing on any web browser. Is there another way to add the animation to a website?

<html>

<head>

<meta charset="utf-8">

<title>Untitled Document</title>

</head>

<body>

<object id="EdgeID" type="text/html" width="1044" height="788" data-dw-widget="Edge" data="../animation_assets/Cyber_Security_Cycle/Assets/Cyber_Security_Cycle.html">

</object>

</body>

</html>

Untitled Document

This topic has been closed for replies.
Correct answer KathleenODell

Okay, I figured out a different way. I ignored the .oam file completely and just focused on the .hmtl file that animate CC created. by using an iframe I can insert the HTML file into my webpage and it will work. 

2 replies

KathleenODellAuthorCorrect answer
Inspiring
November 9, 2018

Okay, I figured out a different way. I ignored the .oam file completely and just focused on the .hmtl file that animate CC created. by using an iframe I can insert the HTML file into my webpage and it will work. 

Jon Fritz
Community Expert
November 9, 2018

Your animation file itself was either not uploaded, or it was uploaded to the wrong location.

Right now, when I go to the location being referenced by the link in your source, I get a 404 File Not Found error.

Remember, the animation file is not part of the .html file, it's just referenced by it, so it also needs to be uploaded, and to the location that the link points to in your .html file.

It's also possible, with all of the CamelCase in your file names, that you have a case mismatch between the file and the link. On your local computer, that wouldn't be an issue, since Mac and Windows are not case sensitive. Hello.html and HELLO.html would be the same file. Servers are usually CasE SenSiTivE though, so it would treat Hello.html and HELLO.html as two separate files.

Inspiring
November 9, 2018

I did upload it, though. I put all the files in the same folder and uploaded them to the server.

Inspiring
November 9, 2018

You replied while I was editing my post, check for a case mismatch between your file and the link used. Servers are typically case sensitive and would treat any mismatch as a separate file.


Did that too. I even deleted all the files and republished just to be sure. I did not hand code it, but went in and clicked on the correct .oam file, so I also know I didn't type it in wrong. And if it was just the html link that didn't work, I would think that I had just typed the path wrong, but the in program preview also doesn't work.