Skip to main content
Participating Frequently
April 25, 2020
Answered

Published HTML loses interactivity

  • April 25, 2020
  • 2 replies
  • 3354 views

I have a single frame HTML canvas file. There is a single button in the file programmed using wizard. When I tested the animation, everything worked fine in the browser, I could click the button and go to another web page. However, the published HTML file losed all its interactivity. I opened the HTML file up in chrome, and I couldn't click the button. I thought it might be my publish setting problem. After trying everything in the setting, still nothing worked. 

 

I also tried to export the test as HTML to see if I can use that instead. That didn't work either. 

This topic has been closed for replies.
Correct answer kglad

It's just a local html file right now. 


 open your browser's developer console to find the problem.

2 replies

EricLiu18Author
Participating Frequently
May 3, 2020

The problem was that I did not upload my HTML file online. Instead, I just opened it in my browser. Due to security reasons, all interactivities do not show up if not uploaded to my site. After uploading it to my site, everything works exactly how I expected. Thank you for your help though, @kglad. 

kglad
Community Expert
Community Expert
May 3, 2020

that is the most common problem (and it's obvious when opening the developer console).

Eager_Hummingbird5C5E
Participant
June 3, 2020

Hi @kglad, I'm new to Adobe Animate and is running into the same issue with an interactive page, but not sure I understand the solve.

Is there a way to have the interactive HTML file work without a website to preview/test? Or do I need a website to be able to interact with the animation? 

 

thanks!

kglad
Community Expert
Community Expert
April 25, 2020

did you upload or integrate the js file?

EricLiu18Author
Participating Frequently
April 26, 2020

I simply chose including JavaScript in HTML option in publish setting. 

kglad
Community Expert
Community Expert
April 26, 2020

what's the url of your html?