Nieuw lid |
|
Helaas ken ik geen sinus cosinus tanges meuk, maak dees ziet er ook klote uit
for (i=0; i<20; i++) {
_root.createEmptyMovieClip("bochtje"+i, this.getNextHighestDepth());
this["bochtje"+i].lineStyle(1, 0xff0000, 100);
this["bochtje"+i].moveTo(Math.random()*Stage.width, Math.random()*Stage.height);
this["bochtje"+i].curveTo(Math.random()*Stage.width, Math.random()*Stage.height, Math.random()*Stage.width, Math.random()*Stage.height);
}
for (i=0; i<20; i++) { _root.createEmptyMovieClip("bochtje"+i, this.getNextHighestDepth()); this["bochtje"+i].lineStyle(1, 0xff0000, 100); this["bochtje"+i].moveTo(Math.random()*Stage.width, Math.random()*Stage.height); this["bochtje"+i].curveTo(Math.random()*Stage.width, Math.random()*Stage.height, Math.random()*Stage.width, Math.random()*Stage.height); }
edit, mee kleurkes
kleur = Array("0x000000","0xff0000","0x00ff00","0x0000ff");
for (i=0; i<Stage.width/2; i++) {
_root.createEmptyMovieClip("bochtje"+i, this.getNextHighestDepth());
this["bochtje"+i].lineStyle(1, kleur[Math.round(Math.random()*kleur.length)], 100);
this["bochtje"+i].moveTo(Math.random()*Stage.width, Math.random()*Stage.height);
this["bochtje"+i].curveTo(Math.random()*Stage.width, Math.random()*Stage.height, Math.random()*Stage.width, Math.random()*Stage.height);
}
kleur = Array("0x000000","0xff0000","0x00ff00","0x0000ff"); for (i=0; i<Stage.width/2; i++) { _root.createEmptyMovieClip("bochtje"+i, this.getNextHighestDepth()); this ["bochtje"+i ].lineStyle (1, kleur [Math .round(Math .random ()*kleur .length )], 100); this["bochtje"+i].moveTo(Math.random()*Stage.width, Math.random()*Stage.height); this["bochtje"+i].curveTo(Math.random()*Stage.width, Math.random()*Stage.height, Math.random()*Stage.width, Math.random()*Stage.height); }
|