• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Published HTML loses interactivity

New Here ,
Apr 25, 2020 Apr 25, 2020

Copy link to clipboard

Copied

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. 

TOPICS
ActionScript , Error , Import and export , Product issue , Publish package

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 28, 2020 Apr 28, 2020

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

Votes

Translate

Translate
Community Expert ,
Apr 25, 2020 Apr 25, 2020

Copy link to clipboard

Copied

did you upload or integrate the js file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2020 Apr 25, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2020 Apr 26, 2020

Copy link to clipboard

Copied

what's the url of your html?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 28, 2020 Apr 28, 2020

Copy link to clipboard

Copied

It's just a local html file right now. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2020 Apr 28, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 03, 2020 May 03, 2020

Copy link to clipboard

Copied

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 03, 2020 May 03, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2020 Jun 03, 2020

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2020 Jun 03, 2020

Copy link to clipboard

Copied

You can just test it out in Animate. What you see in the browser page Animate opens up will be what you will see when you have it uploaded to a real website. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2020 Jun 03, 2020

Copy link to clipboard

Copied

Control -> Test, if you don't know where it is. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2020 Jun 04, 2020

Copy link to clipboard

Copied

you only need a website if you see a security sandbox error. otherwise, you can test per eric's suggestion or publish and open the published html file with your browser.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2020 Jul 18, 2020

Copy link to clipboard

Copied

i have the same issue. 

I have a single frame HTML canvas file. There is a single button in the file programmed to move object on screen.  When I tested the animation, everything worked fine in the browser, I could click the button and see the object move.

i published it as follows 

publish.JPG

However, when i uploaded the files to my server i didnt see anything but this square.

the files i uploaded where: the html file. the js.file and the images.  ‏‏לכידה.JPG

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2020 Jul 18, 2020

Copy link to clipboard

Copied

and your developer's console shows?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 19, 2020 Jul 19, 2020

Copy link to clipboard

Copied

unfortunately i can not understand the error...

 

 

 

console.JPG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 19, 2020 Jul 19, 2020

Copy link to clipboard

Copied

this is the error

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 20, 2020 Jul 20, 2020

Copy link to clipboard

Copied

move your content to frame 2, leaving frame 1 empty.

 

on frame 2, in the actions panel, add

 

this.stop();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 20, 2020 Jul 20, 2020

Copy link to clipboard

Copied

thank you, however it doesnt work. i get empty screen with same error

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 20, 2020 Jul 20, 2020

Copy link to clipboard

Copied

i don't think you can get more help via the forums.

 

someone will probably need to download your fla and fix that for you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 21, 2020 Jul 21, 2020

Copy link to clipboard

Copied

how come that when i test the movie in browser it works ok, but when i publish it as javascriop/html i face the error?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2020 Jul 23, 2020

Copy link to clipboard

Copied

LATEST

you're probably failing to upload a needed part of the published files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines