home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / drifting.swf / scripts / DefineSprite_350 / frame_8 / DoAction.as
Encoding:
Text File  |  2005-08-23  |  446 b   |  10 lines

  1. selectedCar = 8;
  2. var easeType = mx.transitions.easing.Strong.easeOut;
  3. var destination = 84 - 230 * (selectedCar - 1);
  4. new mx.transitions.Tween(carScroller_mc,"_x",easeType,carScroller_mc._x,destination,10);
  5. currentMake = _root.carData_array[selectedCar].MAKE;
  6. currentTorque = _root.carData_array[selectedCar].TORQUE;
  7. currentPower = _root.carData_array[selectedCar].POWER;
  8. currentWeight = _root.carData_array[selectedCar].WEIGHT;
  9. stop();
  10.