Skip to main content
Known Participant
March 18, 2011
Answered

Need help assigning actions/animations to movie clip buttons!

  • March 18, 2011
  • 1 reply
  • 910 views

So I am following along this tutorial: http://layersmagazine.com/flash-button-animation.html

And I get to the part where I need to add code to get my buttons to work, and I copy and paste the code and then change the frame labels to match mine, but then I get a syntax error: "About_Project_mc, Layer 'hit area', Frame 1, Line 1    1086: Syntax error: expecting semicolon before leftbrace."

I'm not sure what's going wrong...

Thanks for any help I can get

I will include photos...

This topic has been closed for replies.
Correct answer Ned Murphy

I meant what I said...  your pictures show Actionscript 2 code.  And if you look at the very first image in the tutorial you linked, you will see it says AS2.

1 reply

Ned Murphy
Legend
March 18, 2011

This is an AS3 forum and you are working with an AS2 design.  You should repost in the AS2 forum...

http://forums.adobe.com/community/flash/flash_actionscript

Known Participant
March 19, 2011

I am not sure what you mean... I am working in CS5 on an Actionscript 3 project (it shows on my pics that it is Actionscript 3 in my actions panel)

Or did you mean this is an Actionscript 2 discussion, and I need to post in AS3?

Ned Murphy
Ned MurphyCorrect answer
Legend
March 19, 2011

I meant what I said...  your pictures show Actionscript 2 code.  And if you look at the very first image in the tutorial you linked, you will see it says AS2.