A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: (*) Disabling a button by covering it with a movie clip?

  1. #1
    Detachment is Balance.
    Join Date
    Feb 2002
    Posts
    46

    (*) Disabling a button by covering it with a movie clip?

    Hello,

    I have a very simple problem. I have buttons that slide left and right. The further one to the right has to be always disabled.

    Basically I have a button that I want to disable. Don't want it to rollover or anything, but it needs to be functional because it's gonna slide away from "under cover".
    I tried covering it with a movie clip. Won't work.

    How can I disable a button using something like that?

    Thanks!
    (*)
    (*)

  2. #2
    ReMember gobbles's Avatar
    Join Date
    Nov 2002
    Location
    Denmark
    Posts
    983
    Hi...just brainstorming

    How about having the the button graphics being an MC and the real button being a non visible button(just a shape in the hit frame), then when it slides remove the button but have the graphics stay on stage..


    my_button._visible=false


    an idea never the less...
    http://www.rickigregersen.com ...finally a blog!

    Your damned if you do...but your particually damned if you don´t

  3. #3
    Detachment is Balance.
    Join Date
    Feb 2002
    Posts
    46

    good idea, but looking for simpler...

    Wow... that'd be a lot of work on 38 buttons. Thanks, I'll use this as a last resort... Hope there's something simpler.

    Thanks again!
    (*)

  4. #4
    ReMember gobbles's Avatar
    Join Date
    Nov 2002
    Location
    Denmark
    Posts
    983
    I can see that....
    thougth you had 4 or 5 buttons...I will not rest!
    How about this

    my_btn.enabled=false

    This should disable the button...
    http://www.rickigregersen.com ...finally a blog!

    Your damned if you do...but your particually damned if you don´t

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