Urgent! How to create graphics dynamically?

Hi dudes,

This is kinda urgent so i’ll be appreciated if you gave me a quick reply. I have created a new symbol which is a graphic…and now i want to create instances with ActionScript…How?

The pseudo-code is something like this:

for(i=0;i<5;i++)
{
create Instance of symbol X
Instance_y=Pos+Delta*I

}

You get the point right?

Thanks in advance,

Sérgio