home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / towerblaster.swf / scripts / DefineSprite_214 / frame_30 / DoAction.as
Encoding:
Text File  |  2007-03-12  |  526 b   |  29 lines

  1. if(shake8 == 1)
  2. {
  3.    _root.pB8._rotation += random(random(5) + 1) * 0.5;
  4. }
  5. if(shake4 == 1)
  6. {
  7.    _root.pB4._rotation += random(random(5) + 1) * 0.5;
  8. }
  9. if(shake5 == 1)
  10. {
  11.    _root.pB5._rotation += random(random(5) + 1) * 0.5;
  12. }
  13. if(shake3 == 1)
  14. {
  15.    _root.pB3._rotation += random(random(5) + 1) * 0.5;
  16. }
  17. if(shake2 == 1)
  18. {
  19.    _root.pB2._rotation -= random(random(5) + 1) * 0.5;
  20. }
  21. if(shake1 == 1)
  22. {
  23.    _root.pB1._rotation -= random(random(5) + 1) * 0.5;
  24. }
  25. if(shake9 == 1)
  26. {
  27.    _root.pB9._rotation = 0;
  28. }
  29.