-
Duplicate Movie Clip Randomly
Hello flash people:
I need some help, How do i duplicate a movie clip randomly posisiton, alpha and scale?
And how do i do that in a ranged space in the scene?
-
In the actions of the movieClip you are duplicating, put:
onClipEvent (load) {
//the max distance along the _x where you want it to be placed
_x = random(550);
//the mad distance along the _y where you want it to be placed
_y = random(400);
_alpha = random(100);
_xscale = random(100);
_yscale = random(100);
}
550 and 400 are the default width and height values, so if you want it to appear within a smaller section, you'll have to do some editing (I'm not exactly sure at this moment, but if I think of it I will post again).
-
thanks
Thanks you for your fast answering...
-
Now the speed
How do i control the speed for everyone of the MC now?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|