Skip to content

Instantly share code, notes, and snippets.

@omniosi
Created March 6, 2014 19:46
Show Gist options
  • Save omniosi/9397898 to your computer and use it in GitHub Desktop.
Save omniosi/9397898 to your computer and use it in GitHub Desktop.
code to duplicate and animate a movie clip. raindrops in this example
for (i=0; i<300; i++) {
duplicateMovieClip("drop", "drop"+i, i);
setProperty("drop"+i, _alpha, random(50));
i++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment