Flash help
Flash help
Out of context: Reply #3
- Started
- Last post
- 6 Responses
- mrming0
Here's a script I used to distribute some stars randomly on a stage measuring 450 x 300:
for (i = 2; i <= 50; i++) {
duplicateMovieClip("starholder.s... "starclip"+i, i);
setProperty("starholder.starclip... _y, random(300));
setProperty("starholder.starclip... _x, random(450));
setProperty("starholder.starclip... _alpha, 300-(this["starholder.starclip...
}