Re: [flexcoders] Mouse events in non-drawn areas?

2007-03-07 Thread Roman Protsiuk
You can pass along this events to your component from the application itself. E.g. // in application: private function onMouseClick(event : MouseEvent) : void { yourComponent.onMouseClick(event); } R. On 1/2/07, Reid Priedhorsky [EMAIL PROTECTED] wrote: Hi folks, I have a component

Re: [flexcoders] Mouse events in non-drawn areas?

2007-03-07 Thread Daniel Freiman
draw transparent pixels using the graphics object of the UIComponent: componentInstance.graphics.beginFill(0,0); componentInstance.graphics.drawRect(0,0,componentInstance.width, componentInstance.height); - Dan On 07 Mar 2007 08:49:59 -0800, Roman Protsiuk [EMAIL PROTECTED] wrote: You can

RE: [flexcoders] Mouse events in non-drawn areas?

2007-03-07 Thread Gordon Smith
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roman Protsiuk Sent: Wednesday, March 07, 2007 8:50 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Mouse events in non-drawn areas? You can pass along this events to your component from

[flexcoders] Mouse events in non-drawn areas?

2007-01-02 Thread Reid Priedhorsky
Hi folks, I have a component which is a subclass of UIComponent. I would like it to receive mouse events (MouseDown, MouseUp, and MouseMove, specifically) even in areas where there are no children and I have not drawn using this.graphics. Is this possible? Do any of you have ideas on how to