# Manipulating the individual objects in a movie clip

**URL:** <https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605>\
**Category:** flash\
**Created:** [September 17, 2002, 1:32pm UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605 "2002-09-17T13:32:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Twinkles](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Mr\_Twinkles](https://forum.kirupa.com/u/Mr_Twinkles)\
**Post date:** [September 17, 2002, 1:32pm UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/1 "2002-09-17T13:32:15Z")

</div>

I know there is a way to manipulate the objects that are within a movie clip, but what’s the syntax for it? For example, if i have a movie clip that consists of 4 squares, how would move just one of those at a time, separate from the other 3?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2002, 1:40pm UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/2 "2002-09-17T13:40:08Z")

</div>

If you have a movie clip called images and inside that clip there are other mcs called square1, square2 and square3.

To target square 1, you would use:

\_root.images.square1.

If you were calling square1 from images, you could just use “square1” but it’s best to use the full paths - it’s good practice.

If you don’t call the squares inside images by means, of buttons, etc, you could use different actionscript for each square. For example one rotates, one fades in and out, the other does nothing.

Controlling different objects inside an mc is not difficult.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2002, 8:29pm UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/3 "2002-09-17T20:29:41Z")

</div>

Thanks. Yeah, i know it’s pretty easy, i just didn’t know the correct syntax to use.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2002, 9:53am UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/4 "2002-09-21T09:53:57Z")

</div>

HINT: if action panel is opened… you can use “insert a target path” bution (picture of target)…  
if you have named eny instance…  
you will fined it hare…

GL.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2002, 11:13am UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/5 "2002-09-21T11:13:23Z")

</div>

That will work, but it will insert the tellTarget command into the script, which has been phased out. You should use the \_root.clipnme.action(), like \_root.clip1.gotoAndStop(1);.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2002, 11:32am UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/6 "2002-09-21T11:32:57Z")

</div>

… That will work… and it dose’nt insert the tellTarget for me…

I use MX and hear first time such a thing…

(check your options/version)  
couse a dont think much about properly targeting obgect… all i do is use this bution and it dosent make mistakes … (people usualy do…)

GL…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2002, 11:46am UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/7 "2002-09-21T11:46:29Z")

</div>

I was thinking of when I used to use tellTaret() and use the target button to target the mc.

Quote: “People usually do…”

Wasn’t a mistake, just an associated the button with an old habbit.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2002, 12:23pm UTC](https://forum.kirupa.com/t/manipulating-the-individual-objects-in-a-movie-clip/5605/8 "2002-09-21T12:23:14Z")

</div>

… I wanted to say that people can mistipe right path,… and mashine cant… 🙂
