you can use the Shape container if you want the fastest container its usefull if you dont need mouse Events for example for that container. I use the shape container often for 3d rendering.
from heavy to light:
MovieClip > Sprite > Shape
sprite is the fastest that still accepts mouse events - but like I said if its just for visual data better use Shape.
About clearing...if you already use:
PHP Code:
this.graphics.clear();
this.graphics.beginBitmapFill(this.global.imgMgr.p layer[spriteCounter]);
this.graphics.drawRect(0,0, 80, 120);
this.graphics.endFill();
it means that you clear the graphics container anyway - why not drawing then all of those "this." containers into 1 big container like:
PHP Code:
var g:Graphics = this.graphics;
var cells:Array = [....holds the cells information....];
cells.sortOn("y");
g.clear();
for (var i:int=0;i<cells.length;i++){
g.beginBitmapFill(cells[i].global.imgMgr.player[cells[i].spriteCounter]);
g.drawRect(0,0, 80, 120);
g.endFill();
}
cells.sortOn("y"); sorts the sprites based on their y-position assuming that the cells array is the one holding either objects or classes with y- properties of the positions. For a propper sorting assign each tile its depth value ahead and the sort it here. Not sure how you sort now as there are multiple ways of doing.

Originally Posted by
masterX
PS: the character is from the ffanimation engine and the fase textures
I noticed that right away- but even texturing might be interesting from the perspective of someone who writes a engine- like what about shadow casting, faking texture baking ect. dont think that strictly in categories -thats what so many people already do