Hi Tony,

Thanx a bunch for you reply.
I reckon that you are absolutely right.

It seems that the issue is addressed in Flex 2.0 and AS3 thus 
indicating that it is a critical issue in Flex 1.5 and AS2.

What bothers me is that it seems to be solvable since buttons and 
other natively-input-recieving objects seems to capture events and 
not bubble them. In relation to the PopUpManager it seems to be 
possible also, but it may be that everything underneath the 
transparent window used when modality is enabled is disabled.

Anyways.. it would be great to have an authoritive response or at 
least be pointed in direction of an authoritive answer.

Cheers,
Pedro

--- In [email protected], "Tony Pujals" <[EMAIL PROTECTED]> wrote:
>
> I basically posted the same question on 2/14/06 ("Mouse Event
> Filtering") and nobody was able to provide a solution.
> 
>  
> 
> I found this link that explained the grisly situation with Flash 
event
> capturing (http://senocular.com/flash/tutorials/buttoncapturing/). 
I had
> to move on for a while working on a rich text editor that worked 
around
> Flash's also grisly text selection timing problems (which you have 
to
> deal with if you want to implement something like a text styles 
toolbar,
> and you want to refresh the selected text, but need to do it after 
Flash
> finishes its updating several frames later).
> 
>  
> 
> Anyway, I'm working on a slight variation of the delegation method
> discussed in the article, but I'm not happy that I have to do 
something
> that the framework should be doing for me, which is checking to see 
if a
> mouse event occurs within the bounds of the topmost component of a
> container's children, and invoking the mouse handler there.
> 
>  
> 
> If I come up with a reliable and generic enough solution, I'll be 
happy
> to post it ... but it would be nice if someone with 
experience/knowledge
> in this area could at least indicate if this is a problem that has 
been
> addressed with Flex 2.0....
> 
>  
> 
> -Tony
> 
>  
> 
>  
> 
> tony pujals| senior engineer | Yahoo! SiteBuilder Express
> 
> p. 408.349.6284 | e. tonyp * yahoo-inc . com
> <mailto:[EMAIL PROTECTED]>  | y!id tonypujals
> 
>  
> 
>  
> 
>   _____  
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Manish Jethani
> Sent: Monday, March 13, 2006 8:09 AM
> To: [email protected]
> Subject: Re: [flexcoders] Re: Capture events a la the underlying
> transparent window from PopUpManager
> 
>  
> 
> On 3/13/06, dopenhagen <[EMAIL PROTECTED]> wrote:
> 
> > Sorry, no - its actually the opposite I am trying to achieve. 
Where
> the
> > underlying layers do not recieve the event.
> >
> > Part of my MXML:
> >
> > <mx:Panel
> [snip]
> 
> >         mouseDown="this.shoppingcartViewHelper.onMouseDown(event)"
> [snip]
> 
> > The questions is how do I get this panel to capture all mouse-
events
> > and NOT bubble them on to the lower layers?
> 
> Sorry, I really don't remember how this worked in Flex 1.5, but can
> you try setting event.bubbles to false (in the mouseDown handler)?
> 
> Manish
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+
> 
site+design+development&w2=Computer+software+development&w3=Software+d
es
> 
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
ac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=We
> 
b+site+design+development&w2=Computer+software+development&w3=Software
+d
> 
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+
pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> 
> Software design and development
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=
> 
Web+site+design+development&w2=Computer+software+development&w3=Softwa
re
> 
+design+and+development&w4=Macromedia+flex&w5=Software+development+bes
t+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> 
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+
> 
development&w2=Computer+software+development&w3=Software+design+and+de
ve
> 
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s
=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> 
> Software development best practice
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&
> 
w1=Web+site+design+development&w2=Computer+software+development&w3=Sof
tw
> 
are+design+and+development&w4=Macromedia+flex&w5=Software+development+
be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> 
>  
> 
>  
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
>   _____
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to