That's great.. I see now I have to setup not only movieclip, but Loader as
well for some cases.

Great explanation, thank you :)

Best Regards,

F

On Thu, Mar 5, 2009 at 11:17 AM, Dennis - I Sioux <den...@isioux.nl> wrote:

> Ah.. sorry i was reading it wrong..
>
> Your struture is
> Stage of B.swf
>  B_mc
>   Loader of A.swf
>        A_mc
>
> If you would set a B_mc.mouseEnabled = false; ... and listen for mouse
> events on the stage of B..
> and would click on A_mc .. your B stage would get an event with the target
> of the value: loader of A.swf.
>
> If you would set the loader Object o mouseEnabled false aswell.. you will
> only get an event from the target A_mc.
>
> As for the question about loader Object... yes every stage has a loaderinfo
> .. you can use this to do preloading or access vars that are given by html
> to your swf.
>
> Good luck!
>
> With kind regards,
>
> Dennis
> Isioux
>
>
> ----- Original Message ----- From: "Fabio Pinatti" <fpina...@gmail.com>
> To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
> Sent: Thursday, March 05, 2009 1:17 PM
> Subject: Re: [Flashcoders] Re: mouseEnabled Loader issue
>
>
>  Hello Dennis,
>>
>> thank you, but one question. In the case, my MovieClip B wasn't loaded by
>> a
>> Loader Object. I mean, it is a simple movieclip in stage. Even that way
>> has
>> it a Loader? I thought just elements loaded with Loader class had it...
>>
>> Thank you!
>> Fabio
>>
>> On Thu, Mar 5, 2009 at 7:48 AM, Dennis - I Sioux <den...@isioux.nl>
>> wrote:
>>
>>  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
>>>
>>>
>>
>>
>> --
>> 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 3910 (20090305) 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
>



-- 
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

Reply via email to