home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / avenger.swf / scripts / DefineSprite_191 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  305 b   |  18 lines

  1. function sss(a)
  2. {
  3.    var v = a.ss.getVolume();
  4.    if(v >= 100)
  5.    {
  6.       clearInterval(a.it);
  7.    }
  8.    else
  9.    {
  10.       a.ss.setVolume(v + 3);
  11.    }
  12. }
  13. this.ss = new Sound(this);
  14. this.ss.attachSound("muza");
  15. this.ss.setVolume(0);
  16. this.ss.start(0,100000);
  17. this.it = setInterval(sss,33,this);
  18.