# Controlling placement and movement of scripted MC's

**URL:** <https://forum.kirupa.com/t/controlling-placement-and-movement-of-scripted-mcs/216826>\
**Category:** Uncategorized\
**Created:** [February 20, 2007, 10:09pm UTC](https://forum.kirupa.com/t/controlling-placement-and-movement-of-scripted-mcs/216826 "2007-02-20T22:09:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psychonaut13](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@psychonaut13](https://forum.kirupa.com/u/psychonaut13)\
**Post date:** [February 20, 2007, 10:09pm UTC](https://forum.kirupa.com/t/controlling-placement-and-movement-of-scripted-mcs/216826/1 "2007-02-20T22:09:48Z")

</div>

ok this is the whole thing i’m trying to do

i need to have movie clips created at certain intervals. i do not understand how to set, call or clear intervals yet.

a MC is created via scripting. it is positioned in the middle of the movie using exact x and y positions. after 2 seconds, that first mc(mc\_1) moves to another position and a second empty mc(mc\_2) is created under it, loading a different image, and then moves to it’s position of exact x and y position.  
after 2 seconds a third mc(mc\_3) is created and moves from under mc\_2 to it’s exactly x and y position.  
after 2 seconds a fourth mc(mc\_4) is created and moves from under mc\_3’s position to it’s own exact x and y positions

it sits like this for 8 seconds. after 8 seconds, mc\_1 and mc\_2 both move off stage to the right. then load in different images and move back to their original x and y positions from the left of the stage.

2 seconds passes and mc\_3 and mc\_4 both move off stage to the right. then load in different images and move back to their original x and y positions from the left of the stage.

8 seconds after this occurs, mc\_1 and mc\_2 do their thing all over again loading in yet another image set…etc ad naseum.

does that make sense? i know it’s a lot of help to ask for but i’m totally stuck.

this is the scripting that i have so far

```auto
createEmptyMovieClip("mc_1", 10);
mc_1._x = 22
mc_1._y = 5
mc_1.loadMovie("Jewelry/hughes.jpg")

createEmptyMovieClip("mc_2", 9);
mc_2._x = 202
mc_2._y = 5
mc_2.loadMovie("Jewelry/Large-Coral-Ring-w-leaf-pat.jpg")

createEmptyMovieClip("mc_3", 8);
mc_3._x = 22
mc_3._y = 185
mc_3.loadMovie("Jewelry/Kitty-Catapillar.jpg")

createEmptyMovieClip("mc_4", 7);
mc_4._x = 202
mc_4._y = 185
mc_4.loadMovie("Jewelry/Opal-&-Diamond-Pendant.jpg")

```

many thanks  
p13
