Child variables

I have started as3 two days ago and havnt been able to work this one out.

I have set a for statement that will attach movie clip to the stage. Now all i want to do is link the movieclip to an id.

for(var i=0;i<5;i++){
var movier = new cliper()
movier.idNumber = i//<<<<<< this doesnt work

later on i added a click listener and wanted to recall its id number but couldn’t.

Is there anyway to do this