Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Movie clip over buttons

Explorer ,
Jun 23, 2014 Jun 23, 2014

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.

TOPICS
ActionScript
293
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 23, 2014 Jun 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.

Translate
LEGEND ,
Jun 23, 2014 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 23, 2014 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2014 Jun 23, 2014
LATEST

You're welcome sir.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines