Container's don't have backgrounds so you aren't over the container
unless you are over its contents.  Set a backgroundColor (and
backgroundAlpha if you want) so the mouse is over something in the
container.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Guillermo Villasana
Sent: Monday, September 24, 2007 12:01 PM
To: [email protected]
Subject: [flexcoders] Problem with rollOver and rollOut

 

Hello everyone, I have the following code:
<!----code -->
<mx:Canvas id="id_cvs" rollOut="Alert.show('Roll out');"
rollOver="Alert.show('Roll over');">
<mx:TileList x="0" top="24" id="id_tile_subnav" 
direction="vertical"
themeColor="#006633"

backgroundColor="#ffffff"
alpha="0.7" visible="false" minWidth="120"
itemRenderer="componentes.categorias"
width="100%" height="110" textAlign="left"/>

</mx:Canvas>
<!----code -->

The problem I have is that the rollOut is triggered even if I am in the 
area of the canvas and I don't know why. It seems that every item in the

tile list generetes the rollOut and roll over, but I only want the 
rollout when I get out of the canvas. I tried using mouseOut and 
mouseOver with the same problem

Thanks
Terius

 

Reply via email to