• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Name button instances

Using the appropriate suffix to prompt code hinting, you’ll provide instance names for two button instances that are already on the Stage.

1.
In the Timeline, unlock the Buttons layer.

2.
On the Stage, select the instance of play_button (the large green button).

3.
In the Instance Name text box of the Property inspector, type onButton_btn to name the instance.

4.
On the Stage, select the instance of button_stop (the small red button).

5.
In the Instance Name text box of the Property inspector, type offButton_btn to name the instance.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint