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

Cannot add action to button with tween?

New Here ,
Jan 06, 2015 Jan 06, 2015

In CS5 this didn't see to be a problem. With CC I get a message that says "Select a single fame to view or apply a script".  It seems the only workaround is to add a keyframe outside of the 'tween'. Then I can add an action. Is there a better way??

TOPICS
ActionScript
176
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 06, 2015 Jan 06, 2015

Create a new layer and add you actionscript to a frame there.  As long as you are targeting the button and the button exists in the same frame (different layer is okay) then it doesn't matter which layers the code is versus the objects it targets.

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 06, 2015 Jan 06, 2015
LATEST

Perfect thank you!

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