This content has been marked as final. Show 4 replies
The error probably is because you wrote the code on a "button" type clip.
If you selected the enterBtn in stage then typed your actions then try to change
enterBtn.onRelease = function()
you're code is not attached to a frame. it's attached to an object.
to remedy, cut the code, click on an empty space on-stage and paste your code into the actions panel.
Thank you! Both for your replies.
kglad your answer did the trick.
It works fine now!