Skip to main content
BenSCR
Inspiring
May 27, 2014
Answered

Error - Object selected on stage

  • May 27, 2014
  • 1 reply
  • 1263 views

In the past I've not had any problems coding button navigation in ActionScript 3.0, but for some reason I appear to have forgot the process.

I have created a button to go from Scene 1 to Scene 2.

I have two layers, the bottom layer is where the button is. The top layer is where the ActionScript is.

My button is on stage and is (its a Button symbol) an called "go_1" and is an instance of the the name "btn".

When I select "Click to Go to Scene and Play" (in Code Snippets), and I get a message saying "This action requires an object to be selected on Stage".

What am I doing wrong?

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

It sounds like you do not have the button selected when you select the command.  Click the button to select it before you click that command.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
May 27, 2014

It sounds like you do not have the button selected when you select the command.  Click the button to select it before you click that command.