First, don't use mouseOver, use rollOver and rollOut. The mouse events are
lower level and are harder to deal with.

 

Put trace statements in your handlers or step through in the debugger so you
can see what is happening.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of carloscarvalhar
Sent: Saturday, March 21, 2009 1:49 PM
To: [email protected]
Subject: [flexcoders] Re: rollover is blinking

 

Hi,

I tried what you said, but didn't worked, it's blinking yet.

Here's my code:

public function toogleVisiOver():void{
if(! mycanvas.visible){
mycanvas.visible =true;
}
}

public function toogleVisiOut():void{
if(mycanvas.visible){
mycanvas.visible =false;
}

}

called in:
<image mouseOver="{toogleVisiOver()}" mouseOut="{toogleVisiOut()}" />

Any suggestion?

thanks,
Carlos



Reply via email to