Obviously because the text is "over" the HBox. In that sense the 
mouse isn't hitting the HBox area when over the text. Moving around 
in the HBox triggers the mouseOut event. IMO.
Hope this is clear
Tnx
George

--- In [email protected], "tchredeemed" <[EMAIL PROTECTED]> wrote:
>
> code:
> 
> <mx:HBox
> mouseOver="moCanvas.visible=true;"
> mouseOut="moCanvas.visible=false;"
> >
> 
> <mx:Text text="test" />
> <mx:Canvas id="moCanvas" width="10" height="10" visible="false"
> backgroundColor="0x000000" />
> 
> </mx:HBox>
> 
> 
> Obviously simplified, basically I am interested in finding out why 
the
> mouseOut event is triggered when I mouse over different parts of 
the HBox.
> 
> For instance, when I mouseOver the text, it shows the moCanvas, 
when I
> mouse off the text but stay in the "HBox" it hides the moCanvas...
> 
> Any ideas?
>


Reply via email to