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 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 do it or where to
find more info?

(I could work around it by drawing the background manually, but that
seems awkward. I was hoping for some kind of switch or setting. This is
Flex 2.)

Thanks for any help,

Reid

Reply via email to