AttachMovie clip not working as i hoped it would!

hey,

Well… I have this script here… which dynamically attaches a movie clip onto my stage…

on (release) {
    d = random(100);
    _root.attachMovie("Item", "Item"+d, 0, {_x:random(300), _y:100});
    trace(d);
}

I have it in a button… Use to initiate it…

Anyway… It’s suppose to attach a movie clip named “Item”… from my library… and give it another name… due to the “Item”+d… and “d” is a random number…

Since my Movie clip has a difference instance name every time it is attached… it shouldn’t interfere with each other…

But what i get is that every time i click it… the old one just vanishes and the new one takes it’s place…

What’s going on there?

Thanks

[Edit]
Ok… I’ve resolved this… by using a loop…