A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Button Blocker?!?!

Hybrid View

  1. #1
    Go create something, anything. Cnic's Avatar
    Join Date
    Feb 2005
    Location
    USA - IL
    Posts
    146

    Button Blocker?!?!

    Hey All!

    I need some simple AS for blocking the use of a button on a particular frame.

    example.... In a timeline based site, if your located on the "home" frame, I dont want to have the use of the home button. So I really just need some script to shut the use off while on that frame.

    I'm sure someone knows what this is.... and I know its just a little line of script.

    Please help!

    Thanks!!!

  2. #2
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    myButton.enabled=false;

    K.

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    That should work, but you'll have to disable it only on that frame, otherwise it will be disabled on all.

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