Skip to main content
Participating Frequently
July 3, 2024
Answered

Nothing happens when I click to access the actionscript code for a specific frame

  • July 3, 2024
  • 2 replies
  • 1094 views

When i click on the button layer ... in the actions poup in the image above, nothing happens?

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Thanks for the file.

 

The reason is because the layer is of type motion tween. And I just found out that this type of layer cannot have frame scripts.


https://helpx.adobe.com/animate/using/about-motion-tween-animations/motion-tween-animation.html

 

You'll need to alt drag the frame containing the code to a regular layer.

 

I honestly didn't know about this limitation especially because I rarely use motion tweens.

 

Anyway, you should be able to access the script now.

 

Regards,

JC

2 replies

JoãoCésar17023019
Community Expert
Community Expert
July 3, 2024

Hi.

 

Please make sure that you are selecting only one single frame and not the entire layer.

Do this:

 

And not this:

 

Regards,

JC

Participating Frequently
July 3, 2024

Hi JC, thanks, it still doesn't work unfortunately

This still gives that blank screen

JoãoCésar17023019
Community Expert
Community Expert
July 3, 2024

Alright.

 

What does happen if you try it in a blank keyframe?

Participating Frequently
July 3, 2024

Urgent, due tmr