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);
system
September 28, 2004, 11:33am
2
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.
system
September 28, 2004, 6:31pm
3
my mc is phila and i’m trying to alter its alpha
system
September 28, 2004, 7:36pm
4
no i think that you are going to have to go through bob to get to phil.
_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.
system
September 29, 2004, 9:45pm
5
so it’ll be something like, _root[“bob”+_root.i].[_root.phil+“a”]._alpha