My flash site has various “pages” (MovieClips) and each of these pages has various dynamically generated movieclips with listeners for mouse events, etc. I switch between them in the manner of “active.alpha = 1, rest.alpha = 0” and disabling mouse input on inactive clips.
My question is, does _mc.mouseEnabled = false and _mc.mouseChildren = false also stop listeners for mouse events running on those movieclips or do you have to manually remove each event listener to stop it from running (and unnecessarily using resources).
Also if a movieclip’s alpha is set to 0 does Flash still use resources for “drawing” it on stage or is it effectively removed from the drawing process (even if the movieclip contains running animations)?
The thing is my application is running very slow and I’m guessing it’s because even when I hide a page flash is still calculating how to draw it and detecting mouse events on all its children.
Thanks for any answers, cheers.