This could be a lot of things.  If you could post code, that might be
helpful.  But before you do that, take a look at my post on MouseEvents

http://nondocs.blogspot.com/2007/04/flexfaqmouseevents.html

The cause of your problem may be in there.

Dan Freiman
nondocs <http://nondocs.blogspot.com>

On 5/27/07, jairokan <[EMAIL PROTECTED]> wrote:

  Hi,
I'm doing a little application example while learning different
topics. I'm in the Events topic now ,which I'm still struggling to
understand (Capture, bubble phases). The application is very simple
having a display list as follows.
MainSprite
ChildSprite
TextField

The Child Sprite has a certain dimension width, height. It contains
the Text Field, width also dimension set smaller than Child Sprite.
I've added an EventListener to the Child Sprite, the Event type is
CLICK. The event handler will change the backgroung of the Child Sprite.
The problem is that the event is triggered only if the mouse pointer
enters the TextFiled area, which is a non expected behaviour. The
Event should be dispatched as soon as the mouse pointer enters the
Child Sprite area.
Can please someone explain brievely if this is the correct behaviour
and what should I do to trigger the handler event as soon as the mouse
pointer enters the Child Sprite are, not until it goes the the text
field area.
Thanks

Reply via email to