Hi,
How can I use if condition in a function?
If my mouse cursor not in the following area:
between x:150 & x:250
between y:50 & 350
Then the following condition to be applied:
function areaOut(e:MouseEvent):void {
TweenLite.to(ButtonsPanel2_mc, 0,{alpha:0, x:463.8, y:-400});
}
What is the code, Please?