+1  A: 

You have created your star object once and added it 10 times to array:

star=[CCSprite spriteWithFile:@"22.png"];
for(int i=0;i<10; i++) 
{
    [mySpriteArray insertObject:star  atIndex:i];
}

So your array contains the same object and that's the reason of assertion you get.

Vladimir
it works now.Vladimir thanx a lot.You are really helpfull.
russell