Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Idans

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Idans

  1. Hi x10, thank you, but it doesn't work
  2. Hi, I wrote this in order to change a color of button when the mouse is on it and to reverse it to the original color when the mouse moves out of it: import com.greensock.*; import flash.events.MouseEvent; btn_mc.addEventListener(MouseEvent.MOUSE_OVER, myClickReaction); btn_mc.addEventListener(MouseEvent.MOUSE_OUT, myOutReaction); function myClickReaction (e:MouseEvent):void{ var myTween:TweenMax = new TweenMax(e.currentTarget, 1, {tint:0x33ff00}); } function myOutReaction (e:MouseEvent):void{ myTween.reverse(); } what did I do wrong? Thank you
×