I am trying to place a three items in a row using a loop:
It seems to be either displaying the three instances on top of eachother or only once -how do I get it to display as a group?Code:var placement:uint=100; var bullet:MovieClip; for(var i:Number = 0; i < 3; i++) {trace(placement); bullet=new Bullet(); bullet.x=placement; bullet.y=placement+=10; addChild(bullet); //placement+=10; }




Bookmarks