Copy link to clipboard
Copied
Hello everyone, I'am working on a simple animation.
Previously it was controlled with a mouse scroll that I had to replace with buttons.
This animation works perfectly when I test but not after publication.
I've searched but can't find the problem.
Does somebody have an idea ? Thanks in advance.
Chris
Copy link to clipboard
Copied
Hi.
Can you provide more details? Is it AS3 or HTML5? Can you share some screenshots?
Regards,
JC
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks.
There's no FLA attached. This forum doesn't allow it.
You''ll have to upload your file to somewhere else (Creative Cloud, Google Drive, Dropbox, WeTransfer, and so on) and place the link here.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you.
It seems to be working correctly for me.
https://christophet-cpnef-test.netlify.app/
What version of Animate are you using and how are you trying to run the published content outside of Animate?
Copy link to clipboard
Copied
It's crazy !
I am using Animate 2023.
Once published I test the animation with Firefox, it does not work.
I asked a friend to post it but still nothing. I must have a problem with my post preferences but I couldn't find anything.
Copy link to clipboard
Copied
But how are you running the HTML? By just double-clicking on it?
Copy link to clipboard
Copied
Yes in a first time I test it this way (doesn't work), but when online it doesn't work either.
Copy link to clipboard
Copied
You need to check how you're hosting your files.
Do you have a link so we can try it? (e.g.: https://yourwebsite.com/cpnef)
Copy link to clipboard
Copied
https://www.surunnuage.com/CPNEF/CPNEF_1260x3000_5/
It's incomprehensible, this link did not work 2 days ago...
I will put the final version online to test it.
I'll let you know if it works and I'll keep looking why I can't test locally.
Thanks for your help Joao.
Chris
Copy link to clipboard
Copied
Great!
The important thing is that it's working now.
Please just let us know if you need further assistance.
Regards,
JC
Copy link to clipboard
Copied
again, you can't test locally because of browser restrictions on cross-domain loads. if you don't understand what that means, google it.
there are ways to work around that, but the quickest and easiest is to upload your published files and naviate to the html with your browser.
Copy link to clipboard
Copied
Thanks a lot,
I will search on google.
Chris
Copy link to clipboard
Copied
you're welcome.
p.s. learn to use the developer console of your browser
lesson 1 - https://youtu.be/PBDQN9CQSeI
lesson 2 - https://youtu.be/KJEl0OenGUY
Copy link to clipboard
Copied
with html5 if you try to open the html file saved locally with your browser and there are elements to load (eg, bitmaps), you can expect a cross-domain error.
to remedy, upload the published files to a file server and then open the html in your browser.
Copy link to clipboard
Copied
Thanks, I have already tried but unfortunately without success.
Chris