Skip to main content
Participant
January 22, 2015
Question

can't add actionscript to buttons

  • January 22, 2015
  • 1 reply
  • 233 views

Hi, I am currently trying to make a game in AS3 with forward and back buttons. I have drawn my buttons and converted them to symbol (button), but when I select the button and press F9 to add in the actions, this happens meaning I cannot add the script in:

TM0TW.jpg

can anyone please tell me what I have done wrong to not show the normal space where I add my script into?

EDIT: OK, I have worked out how to code buttons I think, but now whenever I do I keep getting this error message

efeFm.jpg

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 22, 2015

you can't add code to objects using as3.

that's an feature of as1 that was (unfortunately) allowed with as2, but finally eliminated in as3.