Flash Actionscript 3: Can't access action panel for buttons

Lily x

Goodbye
I a trying to make a game in flash actionscript 3, and I cannot seem to add the script to a graphic which is converted to a button, as whenever I open the action panel when it is selected, instead of a space to add text this comes up:
http://snag.gy/TM0TW.jpg
Can someone please help
 
Back