Hey Fabio,
You disabled the Movieclip in B .. but the b.swf was still loaded into a
loader object..
This loader object still catched the mouseevent.. so b didn't catch it.. but
b is a part of the total swf/loaderObject ..so the loader still caught it.
Hope this is clear:)
Dennis
Isioux
----- Original Message -----
From: "Fabio Pinatti" <fpina...@gmail.com>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, March 05, 2009 3:32 AM
Subject: [Flashcoders] Re: mouseEnabled Loader issue
Hello again,
wow, I don't make idea what, how or why, but that solved my problem:
*mcB.loaderInfo.loader.mouseEnabled = false;*
(I put that on my swf B, the top level swf). That permitted me "disable"
Loader mouseChildren and access my level A.
Any explanation why this happens, would be great...
Thank you!
On Wed, Mar 4, 2009 at 11:15 PM, Fabio Pinatti <fpina...@gmail.com> wrote:
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
--
Fábio Pinatti
:: web.developer
:::: www.pinatti.com.br
:::::: 19. 9184.3745 / 3342.1130
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
__________ NOD32 3909 (20090304) Informatie __________
Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem.
http://www.nod32.nl
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders