Flash as3 button
Flash as3 button
- Started
- Last post
- 7 Responses
- redant
I can not access a button if it lies beneath another movieclip is that correct? How can I fix that? Thank you. -red
- zaq0
Modify / Arrange / Bring To Front
- fugged0
if nothing in the movieclip needs mouseevents, you can set mouseEnabled and mouseChildren to false. That should make the movieclip ignore mouseEvents and allow the event to occur on the button.
- redant0
ok i will try that thank u
- redant0
where does that code go in as3?
- redant0
i think i got it. AS can be annoying. I guess it's not easy.
- fugged0
mouseEnabled and mouseChildren would be properties of your movieClip.
mc.mouseEnabled = false;
mc.mouseChildren = false;I ♥ AS3 - Such an improvement over 1 & 2.
- redant0
can u teach me!! :)