A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: disable buttons

  1. #1
    Senior Member JFlashK's Avatar
    Join Date
    Dec 2000
    Posts
    618

    disable buttons

    is there a way to disable all but 1 buttons on a stage?

    thanks

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    button.enabled=true;
    otherButton.enabled=false;
    someButton.enabled=false;
    gparis

  3. #3
    Senior Member JFlashK's Avatar
    Join Date
    Dec 2000
    Posts
    618
    thanks for the help but isn't there a disable all buttons function? because i have to disable a lot of dynamic buttons...

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    no. But you can use 'for loops' to target multiple instances.

    gparis

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