hello
after playing with AS1 3 years ago I returned this year to find half of what i knew changed. Still determined to make AS3 work for me I wonder:
How can I dynamicly istantiate a group of movie clips?
the following code doesn’t work of course but it gives an idea of what i’m trying to do.
for (var i:int = 0; i < 50; i++) {
var starlet*:Star =new Star();
starlet*.x = Math.floor(Math.random( )550);
starlet.y = Math.floor(Math.random( )400);
addChild(starlet);
}
any ideas?
thnx a lot!