Array accesing problem

Another problem …

I put all my Movie Clips on an array and I can’t access it very good

onEnterFrame = function()
{
for (var j = 0; j<shape.length; j++)
{

forma[j].onPress=function()
{
this.startDrag();

}

forma[j].onRelease=function()
{
this.stopDrag()
}

// a delete buuton
deleteb.onRelease = function()
{
shape[j].removeMovieClip()
}

It removes the last movie clip and other actions that I applied to those mvoie clip the last movie clip is always selected.Of course j is initialized with array.lenght How can I access it in a different way?
}