Copy link to clipboard
Copied
Good Day everyone. So, I have battled for days now and I am completely at my wits end. I have a Animate project that I have been working on. When I publish my HTML5 canvas, and test it localy in my browser, all the elemnts render just fine. The problem starts when I upload my files to my web server. I upload my images folder, my .js file and my HTML file, but nothing. Its the images that dont load. All the other stuff (vector based objects), they load just fine. As I said, when I test localy, its fine. As soon as I upload, thats where the nonsense starts. I really am at my wits end. Anybody tell me by looking at this file what the problem could be? Thanks in advance guys. Put me out of my misery, please. I have a googledrive link to the files for any kind soul who would like to take a look and maybe tell me what I am doing wrong here.
https://drive.google.com/drive/folders/1f2pYuQVid6dIChPjXi2C6Tm2WXmYgxDV?usp=sharing
Great! Please let us know if you need further assistance.
Do you mean this one? If so, than that's me. o/
Copy link to clipboard
Copied
what's the link to your canvas html on your server?
Copy link to clipboard
Copied
@kglad , thanks for replying bud. Here it is:
https://livecom.co.za/staging/2022/wheel/
I checked console and it is outputing something, just not sure what it all means to tell you the truth. What I dont understand is if I am just using the HTML5 standard publishing settings, why I would be getting an error?
Copy link to clipboard
Copied
there's a bitmap problem.
to remedy:
create a new folder
save your fla to that new folder
test your fla
(everything should work as expected)
on your server, delete all the files (esp your images folder) that you uploaded for this canvas test
upload to your server all the files in your new folder except the fla
clear your browser cache
retest your canvas test files on your server
any problem?
Copy link to clipboard
Copied
@kglad , again , thanks for your reply bud. Did all that. Still kicks out that error. I tried publishing as Image assetts, Spritesheet and texture. Still get the same error. So weird. I mean, locally, its perfect. Couldnt be happier with how it runs. As soon as it gets uploaded, console errors. Not like its a big file either. I tried downgrading to Animate 20.0.2, nadda.
Copy link to clipboard
Copied
@kglad So, I actually fixed the console error. When I imported my assets from Illustrator, Animate added "<" and ">" to the ilustrator assets in the library. When I published, the code obviously didnt like those characters. I renamed them in the library. But, I still have the same problem. All the vector based stuff is there and displaying. The PNG files however, are not. When I test localy, perfect. When I upload, they are just not there. And No console errors either.
Copy link to clipboard
Copied
i see a console error on your website,
(where symbol 4 is)
but no error on my website after testing and uploading your files, www.kglad.com/Files/forums/test1
Copy link to clipboard
Copied
p.s. i tested with animate v 22.0.7. i didn't bother with other versions.
Copy link to clipboard
Copied
Just want to say, thanks for your help my dude. I apreciatte it. Its definately a server configuration problem on my hosts side. Thats why the images arent showing up.
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Yeah, I figured that one out. Re-did that image and brought it back in and seemed to fix the console errors. Still cant figure out why the actual images are not displaying though. So weird dude. It should look like this, like when I test it localy.
And it doesnt, it looks like this when I upload. None of the images load. Its beyond me.
Copy link to clipboard
Copied
Hi.
I suspect that this issue is related to your server configuration. Have you tried uploading it to somewhere else?
Because I can't see the images using your link either. But using kglad's link and a link I that I created the images load correctly.
Can you double check your server settings and also can you upload your content to an alternative link?
Please let us know.
Regards,
JC
Copy link to clipboard
Copied
Hey man, you know what? I think you are right brother. This just makes no sense. On paper, it should be working. I think its definately a server problem actually. You are the dude with that awesome git repository filled with amazing AS3 and HTML5 projects, arent you?
Copy link to clipboard
Copied
Great! Please let us know if you need further assistance.
Do you mean this one? If so, than that's me. o/
Copy link to clipboard
Copied
BTW, awesome content that you have!