home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / eolica.swf / scripts / DefineSprite_352 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-07-26  |  286 b   |  19 lines

  1. function showPer(per, now)
  2. {
  3.    destPer = per;
  4.    if(now)
  5.    {
  6.       curPer = destPer;
  7.       draw();
  8.    }
  9. }
  10. function draw()
  11. {
  12.    square._rotation = curPer * 360;
  13.    var _loc1_ = "f_" + Math.floor(curPer * 4);
  14.    gotoAndStop(_loc1_);
  15. }
  16. curPer = 0;
  17. destPer = 0;
  18. stop();
  19.