Skip to main content
Participating Frequently
Jul 3, 2024 11:16 AM UTC
Answered

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

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

This topic is closed to new replies. Start a new post to keep the conversation going.
JoãoCésar17023019
JoãoCésar17023019Correct answer
Community Expert
Jul 4, 2024 11:18 AM UTC

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

19 replies

JoãoCésar17023019
Community Expert
Community Expert
Jul 3, 2024 11:57 AM UTC

Hi.

 

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

Do this:

 

And not this:

 

Regards,

JC

Translate
Participating Frequently
Jul 3, 2024 12:07 PM UTC

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

This still gives that blank screen

Translate
JoãoCésar17023019
Community Expert
Community Expert
Jul 3, 2024 12:10 PM UTC

Alright.

 

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

Translate
Participating Frequently
Jul 3, 2024 11:22 AM UTC

Urgent, due tmr

Translate