home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / skates.swf / scripts / frame_212 / DoAction.as
Encoding:
Text File  |  2007-04-20  |  870 b   |  44 lines

  1. obNumCount = 0;
  2. obNum = 0;
  3. fg.stop();
  4. MovW = 500;
  5. MovH = 400;
  6. obCount = 0;
  7. obTime = 0;
  8. obStartX = ob1._x;
  9. obStartY = obSource._y;
  10. obOn = new Array(0,0,0,0,0,0,0,0,0,0,0,0);
  11. obOn[33] = 0;
  12. _quality = "medium";
  13. bg1St = bg1._x;
  14. bg2St = bg2._x;
  15. StartSpeed = 10;
  16. Speed = 10;
  17. StSpeed = Speed;
  18. crashSp = 9;
  19. crashSpSt = crashSp;
  20. ObsJumped = 0;
  21. hit = false;
  22. setPoints = false;
  23. player.hand = false;
  24. enableSecondObj = false;
  25. _root.UPcount = 0;
  26. _root.gameover = 0;
  27. _root.gamescore = 0;
  28. _root.bonusmove = "";
  29. _root.jumpNum = 0;
  30. _root.playOK = false;
  31. level = 1;
  32. SpeedCo = 0.6;
  33. speed = StartSpeed + SpeedCo * level;
  34. snd1Volume = 5;
  35. snd2Volume = 95;
  36. Snd1 = new Sound(Snd1);
  37. Snd2 = new Sound(Snd2);
  38. Snd1.attachSound("snd1");
  39. Snd2.attachSound("snd2");
  40. Snd1.setVolume(snd1Volume);
  41. Snd2.setVolume(snd2Volume);
  42. Snd1.start(0,999);
  43. Snd2.start(0,999);
  44.