Skip to main content
charlesn79540358
Inspiring
January 14, 2020
Question

PNG source path

  • January 14, 2020
  • 1 reply
  • 278 views

Hello,

When I create a HTM5/Canvas project with Adobe animate. After publishing or testing it pushes out a html file and a javascript file with the source path with png. When I store it on our webserve it is telling me that I don't have access to the png file. So I open up the JS file with Dreamweaver. 

 

and have to change the path manually to ../path/path/image.png for example I don't want to manually have to change path everytime we create html5/canvas project is there a way to tell abov

This topic has been closed for replies.

1 reply

Legend
January 14, 2020

Animate attempts to load its resource files relative to the location of the document. So if it works when tested locally, but not when loaded on a server, something's getting screwed up in the transfer process.

 

Hmm, I just noticed that when using texture atlases, Animate creates filenames with spaces in them. I wonder if that causes problems for some servers. What if you set image assets to export as image assets?

charlesn79540358
Inspiring
January 15, 2020

Hello,

I will see if that setting will work but yeah I don't know why the path is getting messed up. 

 

Thank you,

Charles