Hi Manish,
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
xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns:elforms="com.elounge.forms.*"
width="500"
visible="false"
hideEffect="WipeUp" showEffect="WipeDown"
backgroundColor="#66CCFF" backgroundAlpha="85"
headerHeight="0" cornerRadius="0"
mouseDown="this.shoppingcartViewHelper.onMouseDown(event)"
creationComplete="shoppingcartViewHelper.onCreationComplete
(event)">...
The questions is how do I get this panel to capture all mouse-events
and NOT bubble them on to the lower layers?
Btw... Im using Flex 1.5 and AS2.
Cheers,
Pedro
--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 3/13/06, dopenhagen <[EMAIL PROTECTED]> wrote:
> > How do I capture e.g. mouseDown events on a canvas which has a
positive
> > alpha value and prevent objects in lower layers to recieve the input
> > and respond to the event?
>
> Are you saying that you want to prevent the canvas from receiving
> mouse events (and let them go to objects underneath it instead)? If
> this is Flex 2.0, set the canvas's `mouseEnabled` to false.
>
> Manish
>
--
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/