var _move: Function; _move = (Math.random() > 0.5) ? moveX : moveY; addEventListener(Event.ENTER_FRAME, _move);