hi
I am posting my code that attaches the movieclips on stage
function attachMovieClip ()
{
for (var i:int=0; i<10; i++)
{
var newMc:mcContainer = new mcContainer();
newMc.y = 100;
newMc.x = 0 + (newMc.width*i) + (i*10);
newMc.name = 'g_'+i.toString();
newMc.addEventListener (MouseEvent.MOUSE_OVER,expand);
newMc.addEventListener (MouseEvent.MOUSE_OUT,contract);
addChild (newMc);
}
}
i was hoping that when the newMc expands, all other mc would keep the same distance between each other as at initialisation. I not able to figure how to do it.
Any help would be very much appreciated. maybe even an earlier post or llink where similar query was explained.
Thank you