var menuPosition:Number; function moveBoxRight(e:MouseEvent):void { menuPosition += box.width; TweenLite.to(containerBtns, 1, {x:menuPosition}); }