home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / staticshock.swf / scripts / DefineSprite_977 / frame_2 / DoAction.as
Encoding:
Text File  |  2005-11-09  |  458 b   |  22 lines

  1. titleMod.start(0,9999);
  2. titleMod.setVolume(0);
  3. titleMusicFlag = true;
  4. this.onEnterFrame = function()
  5. {
  6.    if(titleMod.position == 0 or titleMod.position == titleMod.duration)
  7.    {
  8.       titleMod.start(0,9999);
  9.    }
  10.    var _loc1_ = titleMod.getVolume();
  11.    if(_loc1_ < _parent.masterVolume)
  12.    {
  13.       _loc1_ += 2;
  14.       titleMod.setVolume(_loc1_);
  15.    }
  16.    else
  17.    {
  18.       titleMod.setVolume(100);
  19.       delete this.onEnterFrame;
  20.    }
  21. };
  22.