home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / FrogIT.swf / scripts / frame_230 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  1.1 KB  |  33 lines

  1. aantal = "9";
  2. teller = "1";
  3. hoekding = int("360" / aantal);
  4. while(aantal >= teller)
  5. {
  6.    duplicateMovieClip("/bol_","bol_" add teller,aantal + "1" - teller + 16384);
  7.    set("bolx" add teller,"100");
  8.    set("boly" add teller,"100");
  9.    setProperty("/bol_" add teller, _rotation, "360" - teller * hoekding);
  10.    teller += "1";
  11. }
  12. teller = "1";
  13. while(aantal >= teller)
  14. {
  15.    duplicateMovieClip("/bol_","bol_" add (teller + "9"),aantal + "10" - teller + 16384);
  16.    set("bolx" add (teller + "9"),"100");
  17.    set("boly" add (teller + "9"),"100");
  18.    setProperty("/bol_" add (teller + "9"), _rotation, "360" - (teller + "9") * hoekding);
  19.    teller += "1";
  20. }
  21. teller = "1";
  22. while(aantal >= teller)
  23. {
  24.    duplicateMovieClip("/bol_","bol_" add (teller + "18"),aantal + "19" - teller + 16384);
  25.    setProperty("bol_" add (teller + "18"), _alpha, "90" - "10" * teller);
  26.    set("bolx" add (teller + "18"),"100");
  27.    set("boly" add (teller + "18"),"100");
  28.    setProperty("/bol_" add (teller + "18"), _rotation, "360" - (teller + "18") * hoekding);
  29.    teller += "1";
  30. }
  31. aantal = "27";
  32. setProperty("/bol_", _visible, "0");
  33.