# Attachmovie targetpath

**URL:** <https://forum.kirupa.com/t/attachmovie-targetpath/65582>\
**Category:** Uncategorized\
**Created:** [September 27, 2004, 11:42pm UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582 "2004-09-27T23:42:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veryfine007](https://avatars.discourse-cdn.com/v4/letter/v/b9e5f3/32.png) [@Veryfine007](https://forum.kirupa.com/u/Veryfine007)\
**Post date:** [September 27, 2004, 11:42pm UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582/1 "2004-09-27T23:42:18Z")

</div>

I’m attaching [phil+“a”] to [“bob”+i] and I can’t seem to be able to alter phil’s properties. Tracing I get undefined.

\_root[“bob”+\_root.i].attachMovie(\_root.train, \_root.phil+“a”, \_root.i, {\_x:\_root.hold.\_x, \_y:\_root.mover});

\_root.phil.\_alpha =0;

trace([phil+“a”].\_alpha);

---

<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 28, 2004, 11:33am UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582/2 "2004-09-28T11:33:54Z")

</div>

i take it that i is an integer, bob1, bob2 etc… phila, philb, phil c, etc?  
you want phil attached to bob, phil is in the library, train is the new name? i is an integer.  
you are making a new clip named train

\_root.“bob”+i.attachMovie(phil+“a”,\_root.train,i[,\_x:\_root.hold.\_x,y:\_root.mover.\_y]);

i am not sure if you can parce out the coordinates from two different instances, but if it works then it’s kewl.

---

<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 28, 2004, 6:31pm UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582/3 "2004-09-28T18:31:03Z")

</div>

my mc is phila and i’m trying to alter its alpha

---

<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 28, 2004, 7:36pm UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582/4 "2004-09-28T19:36:59Z")

</div>

no i think that you are going to have to go through bob to get to phil.

```auto

_root["bob"+_root.i].attachMovie(_root.train, _root.phil+"a", _root.i, {_x:_root.hold._x, _y:_root.mover});

```

it looks like you are attaching it through bob.

---

<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 29, 2004, 9:45pm UTC](https://forum.kirupa.com/t/attachmovie-targetpath/65582/5 "2004-09-29T21:45:21Z")

</div>

so it’ll be something like, \_root[“bob”+\_root.i].[\_root.phil+“a”].\_alpha
