If flash was as low level as a hardware language its max shapes it could handle moving around would be 2 squares @ 20fps XD, this is basically what a graphics library that manages your pixels would look like:
oh and create a linkage image the size of a pixel and name it pix_img



PHP Code:
var tv_headers={pixel_row_count:100,pixel_column_count:100,x_pos:0,y_pos:0};
var 
square_object={pixel_array:[]};
for(var 
i=1;i<tv_headers.pixel_row_count*tv_headers.pixel_column_count;i++){
var 
pix:pix_img=new pix_img();
addChild(pix);
pix.name="p"+i
tv_headers
.x_pos++
pix.x=tv_headers.x_pos;
pix.y=tv_headers.y_pos;
if(
i%100==0){
tv_headers.y_pos++;
tv_headers.x_pos=0;
}
pix.xpos=pix.x;
pix.ypos=pix.y;
square_object.pixel_array.push(pix);
}

addEventListener(Event.ENTER_FRAME,recurse);
function 
recurse(e:Event){
for(var 
i=0;i<square_object.pixel_array.length;i++){
square_object.pixel_array[i].xpos++
square_object.pixel_array[i].x=square_object.pixel_array[i].xpos;
}