Problem with a root. - path

hi i have a quick question what is the syntax if u want to use parametrs to define a path inside a path? i mean:
_root[“mc1”+n][“mcIn1”+a]._x = …
or
_root[“mc1”+n[“mcIn1”+a]]._x = …
or
_root[“mc1”+n].[“mcIn1”+a]._x = …
or
_root[“mc1”+n.“mcIn1”+a]._x = …
how do u write the path?!

does anyone know…
it’s very important!!!
any replie would be very appreciated!!!
thanks ahead…

to define a path inside a path you just use a " . "

like _root.movieClip.insideMC

i know that!!!:{
what i meant was if u use vars!!! like in a loop:


for(i=1;i<=7;i++){
for(p = 1;p<=7;p++){
_root["mc"+i]["mcIn"+p]._xscale = something.... // i don't know how to write this line....
}
}
i didn't use a loop in my swf this is just an example....

so i’m asking is how to write that line with the _root…?

dont have to get all angry at me geez. Was just trying to help

sorry man!!!
it’s just that i’m on a very little time limit - for this evening!!!
so i’m not myself today…
anyways thanks for your replie… :slight_smile:
any other thoughts?

for(i=1;i<=7;i++){
for(p = 1;p<=7;p++){
_root["mc"+i]["mcIn"+p]._xscale = something.... 
// i don't know how to write this line....
//THIS IS THE HOW
}
}

It seems to me you know :smiley:

yeah thanks…
it turn out to be a problem with a veriable…
already solved… :slight_smile: