A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    Buttons show through movieclips

    How do I solve this? I have a movieClip which appears in the layer above some buttons in a movie. When I roll the mouse over the movieclip, it detects the button underneath, show the cursor hand and you can press it. How do I make it so you can't detect the buttons through the movieClip?

  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    Either use the following on the buttons:

    Code:
    myButton.enabled = false;
    Where "myButton" is the instancename of the button you wish to inactivate.

    Or you put a button in the bottom of the movieclip with the same
    shape and size as the movieclip and use:
    Code:
    antiClickButton.useHandCursor = false;
    Where "antiClickButton" of course is the instancename of the button in the movieclip.

    /Mirandir

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