Hello flashcoders,
I'm having some issues with some target things, in as3. I need to access a
movieclip A under a movieclip B. Movieclip A is in a swf, and B in other
above it. My first try was mouseEnabled. but it didn't work. The weird is,
if I put a mouse click in the stage of movie that has movieclip B (that is
the one I'm not having sucess in disable). the event.target returns a Loader
object. Why is this happening? I thought I could just use mouseEnabled =
false to access lower level movieclips, but for different movies, seems that
that Loader preserves a hit area, that I don't know how to disable.
Actually, one thing works:
in swf B:
private function click(e:MouseEvent):void {
e.target.mouseEnabled = false;
}
This works on first click, since the Loader target is disabled. Then, I'm
able to click on under movieclip, the movieclip A. But I can't leave user
clicks... I need to disable before any user interaction... The big question
is, why is it getting a Loader target?? How can I disable Loader mouse
interaction?
Thanks so much...
--
Fabio Pinatti
:: web.developer
:::: www.pinatti.com.br
:::::: 19. 9184.3745 / 3342.1130
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders