home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 September / CHIP0903.ISO / t-pay / t-pay.swf / scripts / DefineSprite_290 / frame_1 / DoAction.as
Encoding:
Text File  |  2002-12-18  |  522 b   |  26 lines

  1. function resetClips()
  2. {
  3.    var c = 1;
  4.    while(c <= 20)
  5.    {
  6.       if(_parent["links" + c]._currentframe == 90)
  7.       {
  8.          _parent["links" + c]._visible = false;
  9.       }
  10.       if(_parent["rechts" + c]._currentframe == 90)
  11.       {
  12.          _parent["rechts" + c]._visible = false;
  13.       }
  14.       if(_parent["hoch" + c]._currentframe == 90)
  15.       {
  16.          _parent["hoch" + c]._visible = false;
  17.       }
  18.       c++;
  19.    }
  20. }
  21. function activateClip(clip)
  22. {
  23.    clip.play();
  24.    clip._visible = true;
  25. }
  26.