Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2005
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question [Resolved] Disabling Buttons in Flash?

    In my swf file, I have several buttons. With one, a transparent box comes up with some info and has a back button, but you can still access the buttons behind it, which I do not want. I want to be able to disable the buttons behind the transparent box when the transparent box is up but not the back button that is on the transparent box...if thats confusing enough.

    Anyone have any ideas?

    Any help would be appreciated.

    BTW, Im using Flash MX Professional

    *** UPDATE: Nevermind! Found a work-around!
    Last edited by Tricia; 07-01-2005 at 03:37 PM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    What was the solution? Other people might have similar problems.

  • #3
    New Coder
    Join Date
    Feb 2005
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Solution

    ah good point!

    Here's what I did:

    OK, say the transition for the transparent box to come up is in frames 30-40. I created a keyframe at frame 30, in the layer for the buttons that I wanted to disable while the box was up, and removed the actionscript from the buttons. I then created another keyframe at frame 40 and re-added the actionscript. Since at frame 40, the box will have disappeared. This make sense?

    It's not a pretty workaround, but it works!

    Anyone know of a more elegant solution, let me know!


  •  

    Posting Permissions

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