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

Hover-over button not working in Google Chrome on published JavaScript/HTML file

New Here ,
Jan 28, 2019 Jan 28, 2019

Hello,

​I created a file with imported Adobe Illustrator vector background artwork in one layer. In another layer, I created a button symbol out of an Illustrator graphic and made a hover-over effect where text pops up as you hover-over. It all works when I test it (Ctrl + Enter) on my browser. But when I publish it and test that file in Google Chrome, the hover-over buttons do not work. It works in Edge and Explorer, however.

​I also have a small looping animation as part of the background as a movie clip in the main timeline (some fans spinning). This works in Chrome.

In the publishing settings I combined the JavaScript with html into one file and have hosted libraries checked. I am not using any Actionscript. ​I'm using the latest version of Animate CC on a PC version with Windows 10. Have you heard of this issue on Chrome browsers and know of a fix?

Thank you.

3.1K
Translate
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

LEGEND , Jan 28, 2019 Jan 28, 2019

This question is asked all the time. It's not working because you're running it from your local file system instead of a server.

Most browsers don't like my interactive HTML5

Translate
LEGEND ,
Jan 28, 2019 Jan 28, 2019

This question is asked all the time. It's not working because you're running it from your local file system instead of a server.

Most browsers don't like my interactive HTML5

Translate
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
LEGEND ,
Jan 28, 2019 Jan 28, 2019

Obviously the person who asked the question did not know that otherwise they would not have asked!

Maybe have a post about this be pinned to the top above all the threads? I know it is possible since I had a post pinned in the Edge Animate forum.

or may be we should compile some of the most asked questions and pin a post about it with links.

Translate
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 ,
Jan 28, 2019 Jan 28, 2019
LATEST

Thanks, I will test it on a server. I did do a search based on my topic but I came upon this answer only: Re: HTML5 code snippets placed on buttons not working when published but do work while testing insid... I looked through the FAQs too. Guess I didn't use the correct keywords.

Translate
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