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

Adding simple script causes testing and publishing problem, blank screen with nothing showing.

Community Beginner ,
Jun 02, 2022 Jun 02, 2022

I am using Animate 2020. I can create an aniation without script and it works perfectly. Whenever I place a simple bit of action script on a button, code snippet 'click to go to webpage', it does not test or display properly. Only the blank document. As soon as I remove the snippet everything is back to normal. I dont understand, I have watched many tutorials and it works perfectly fot them. It is really annoying as I have tried many things to get it to work. I have also created a blank document created a button and added the snippet to that and it still does not work. Please help!With snippetexpand imageWithout snippet, actions layer deleted.expand image

159
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

Community Beginner , Jun 02, 2022 Jun 02, 2022

Hello,

Many thanks for replying.

I have worked it out now. I feel very stupid!

I think I was using Actionscript snippet instead of the HTML5 snippet

It seems to work now. I am a novice so please forgive me. I am very happy now!

Kind Regards

Translate
Community Expert ,
Jun 02, 2022 Jun 02, 2022

Hi.

 

Can you show the console (F12)?

 

Regards,

JC

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
Community Beginner ,
Jun 02, 2022 Jun 02, 2022

Hello,

Many thanks for replying.

I have worked it out now. I feel very stupid!

I think I was using Actionscript snippet instead of the HTML5 snippet

It seems to work now. I am a novice so please forgive me. I am very happy now!

Kind Regards

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
Community Expert ,
Jun 02, 2022 Jun 02, 2022
LATEST

OK! No problem!

 

I'm glad you solved it.

 

Regards,

JC

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