A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: button instance

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    19
    Whenever I use button, and need to set its property (visibility etc) with action script, i always have to put the button to a movie clip, and then named the movieclip intance. by that way i can do action to that button such as : setProperty(clipThatContainButton,_visible,0)
    or clipThatContainButton._visible = 0

    Question : can I target the button without having to place it into a movieclip ? what is the "Track As A button" option for ? it is in the button instance (right click button > intance > option)

    thank you.

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    'Track as Menu Item' is used best when creating Pop-Up Menus. And Track as Button is used best with Single Buttons.

    As to your question, I dont know anyother way other than that. and Yes it is kinda of a pain..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center