Skip to main content
Known Participant
June 23, 2014
Answered

Movie clip over buttons

  • June 23, 2014
  • 1 reply
  • 329 views

I did a search here and found 2 discussion topics kinda-sorta related but not direct enough.  In AS2, I think, I could put a movie clip over a button and the button would still work.  In AS3 (Flash CC) the buttons become inoperable.  Design-wise I want a movie clip to animate over the buttons.  Is there a workaround for this?  Am I missing something?

Any help would be greatly appreciated.

Thanks.

This topic has been closed for replies.
Correct answer Ned Murphy

Your observation of the difference between AS2 and AS3 behaviors is correct.  IF you want to have thebuttons be active while the movieclip is over them then you can try disabling the movieclip's mouse interactibility by using....

mcName.mouseEnabled = false;

mcName.mouseChildren = false;

where "mcName" gets replaced with the instance name of your movieclip.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
June 23, 2014

Your observation of the difference between AS2 and AS3 behaviors is correct.  IF you want to have thebuttons be active while the movieclip is over them then you can try disabling the movieclip's mouse interactibility by using....

mcName.mouseEnabled = false;

mcName.mouseChildren = false;

where "mcName" gets replaced with the instance name of your movieclip.

smaudlinAuthor
Known Participant
June 23, 2014

Holy Cow!  Soooo easy it's embarrassing.  I worked around it by creating a button with the movie in it and no hit-zone.  That worked too but was clumsy.  This is perfect.  Hats-off to you sir.  Thanks.

Ned Murphy
Legend
June 23, 2014

You're welcome sir.