home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / chplus / prazdroj / cz / flash_plave.swf / scripts / frame_26 / DoAction.as
Text File  |  2003-09-24  |  909b  |  47 lines

  1. speed = -1;
  2. spmax = 5;
  3. spdef = -1;
  4. bX = 217;
  5. bY = 0;
  6. bYspace = 1;
  7. bMax = 10;
  8. sHeight = 188;
  9. bHeight = 32;
  10. if(bCount < bMax)
  11. {
  12.    var bArrPom;
  13.    bArrPom = new Array();
  14.    bArrPom = bArrPom.concat(_root.bArr);
  15.    i = 0;
  16.    while(i < (bMax - bMax % bCount) / bCount)
  17.    {
  18.       _root.bArr = _root.bArr.concat(_root.bArrPom);
  19.       i++;
  20.    }
  21.    bCount = _root.bArr.length;
  22. }
  23. cPath = new Array();
  24. i = 0;
  25. while(i < bCount)
  26. {
  27.    _root.attachMovie("c","c" + i,i);
  28.    setProperty(eval("_root.c" + i), _X, -100);
  29.    setProperty(eval("_root.c" + i), _Y, -100);
  30.    _root.getTextColor(i);
  31.    cPath[i] = "_level0.c" + i;
  32.    i++;
  33. }
  34. bShow = new Array();
  35. i = 0;
  36. while(i < bCount)
  37. {
  38.    bShow[i] = 0;
  39.    i++;
  40. }
  41. _root.attachMovie("border","border",100);
  42. _root.border._x = 0;
  43. _root.border._y = 0;
  44. _root.attachMovie("banner","banner",101);
  45. _root.banner._x = 12;
  46. _root.banner._y = 13;
  47.