Some help from Macromedia.
How to Use the Clip?
- Create an empty movie clip: Insert > New Symbol > MovieClip
- Name it
clipRandom
. - Place it on the layer you want it (e.g. at the bottom).
- Add the ActionScript in the first frame of the main timeline:
clipRandom.loadMovie("duplicate-and-randomly-distribute-clip.swf");
- This is all – you are set and ready to run the clip!
Original Question
I’ve filled the screen with multiple instances of a MC to serve as a built up background but it’s pretty processor intensive. Am wondering if there is a little snippet of code that will place a small MC into random (or at least somewhat evenly spaced out) positions all over the stage area, It should happen over a set amount of time like 20 seconds or so. Needless to say my action scripting leaves much to be desired. Any help would be greatly appreciated.