[FMX04] Dynamic ISOMETRY

OK I have followed Sen’s iso dynamic grid creation tutorial and basic iso movement, but know I’m trying to combine the two making the placement of the object which will be controlled on the grid also dynamically through AS.

This is the code for the dynamic grid creation:

[AS]
spacing=10;
depth=0;
this.createEmptyMovieClip(“isoPlane”,0);
for(x=0;x<5;x++){
for(y=0;y<5;y++){
isoTile=isoPlane.attachMovie(“isoTile”,“isoTile”+depth,depth++);
isoTile._x=spacing*(x+y);
isoTile._y=spacing/2*(x-y);
isoTile.x=x;
isoTile.y=y;
}
}
[/AS]
OK now I want to add a library item with linkage ID isoObject to isoPlane so that I can later write the code for the movement along the plane.

[AS]
//dynamic grid creation
spacing=10;
depth=0;
this.createEmptyMovieClip(“isoPlane”,0);
for(x=0;x<5;x++){
for(y=0;y<5;y++){
isoTile=isoPlane.attachMovie(“isoTile”,“isoTile”+depth,depth++);
isoTile._x=spacing*(x+y);
isoTile._y=spacing/2*(x-y);
isoTile.x=x;
isoTile.y=y;
}
}

//isoObject attached to isoPlane
isoPlane.attachMovie(“isoObject”,“isoObject”+depth,depth++);
[/AS]

Ok it does attach to isoPlane, but I don’t know how to reference to the isoObject in my movement script!

In Sen’s tutorial on iso movement this is the setup using MC:

STAGE
isoPlane
isoObject
actionscript

IE: the isoObject is within the isoPlane, and so is the AS controlling the movement!

Is my approach correct using AS to place the MC from the library?

=)