Revision: 49114
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 16, 2011 01:16 by vdubplate
Initial Code
import flash.ui.Mouse; import com.greensock.*; var Clicking:uint=0; var tab_x = tab.x; b1.addEventListener(MouseEvent.CLICK, left); function left(evet:MouseEvent):void{ if (Clicking<3) { Clicking++; trace(Clicking); } TweenLite.to(tab, 1, {x:tab_x + (Clicking * 65)}); } b2.addEventListener(MouseEvent.CLICK, right); function right(evet:MouseEvent):void{ if (Clicking>0) { Clicking--; trace(Clicking); } TweenLite.to(tab, 1, {x:tab_x + (Clicking * 65)}); }
Initial URL
Initial Description
Initial Title
Easy Back and forth slider setup with tweenlight
Initial Tags
Initial Language
ActionScript 3