Hello, i need to create image transformation from one to another with mouse interaction. I used tweenlite to set columns of first image to alpha=0, and after few seconds turn it back to first image. The problem is with cursor. I need to turn that column where cursor remains back to first image after a while - I need to see complete image. Hope you understand my poor english. Thank you!
here is code for one column..
import com.greensock.*;
import com.greensock.easing.*;
import flash.events.Event;
btn.addEventListener(MouseEvent.MOUSE_OVER, btnRollOver);
btn.addEventListener(MouseEvent.MOUSE_OUT, btnRollOut);
function btnRollOver(e:Event){TweenLite.to(btn, 0.2, {alpha:0});}
function btnRollOut(e:Event){TweenLite.to(btn, 1, {alpha:1, delay:4});}