Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error - Object selected on stage

Engaged ,
May 27, 2014 May 27, 2014

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?

TOPICS
ActionScript
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 27, 2014 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.

Translate
LEGEND ,
May 27, 2014 May 27, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines