PDA

View Full Version : Load external swf to a certain location on stage?


maguidhir
03-13-2006, 05:38 PM
Hi, I'm loading multiple swfs to the stage using a for loop and

createEmptyMovieClip("container" + i, layerOrder);
loadMovie(swfLocation, "container" + i);
How would I set the x,y coordinates of where i want each swf to load on the stage?

maguidhir
03-13-2006, 09:19 PM
I think mostly what I need to know is how to access the x and y variables of these movieclips, and since their names are dynamic, i'm not sure how to do this. Would I do something like, ["container" + i]._x = xcoordinate; ?
Again, i'm very new to this...Any help would be appreciated. Thanks.

oldnewbie
03-13-2006, 09:32 PM
Yeah,

this["container" + i]._x = 200;

...should do it!