/ Published in: ActionScript 3
Used to place instances of symbols onto stage with AS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var boarder:mcBoarder; var boarderX:Number = 127; var boarderY:Number = 271; var boarderR:Number = 0; for(var i:Number = 0; i < 6; i++) { boarder = new mcBoarder(); addChild(boarder); boarder.x = i * 75; boarder.x = boarderX; boarder.y = boarderY; boarderY -= 75; boarderX += 75; boarderR -= 45; }