Posted by TodayRatha in
on
-
var square:Sprite = new Sprite();
addChild(square);
square.graphics.lineStyle(3,0x00ff00);
square.graphics.beginFill(0x0000FF);
square.graphics.drawRect(0,0,100,100);
square.graphics.endFill();
square.x = stage.stageWidth/2-square.width/2;
square.y = stage.stageHeight/2-square.height/2;
Category List
- Actionscript 3 (2)
- Digital Painting (1)
- Life style (1)
- Photoshop (1)
- Sencha Touch (1)
Blog Archive
-
▼
2010
(50)
-
▼
February
(9)
- Flash AS3 | Get Actual Width and Hight of Rotated ...
- Flash AS3 | Get Width and Height of Rotated Object
- Apache | Virtual Host Configuration
- AS3 Retrieve Flash Vars & HTML put Flash (swfObject)
- Flash AS3 | XML return value with the name of node
- Flash AS3 | Draw Squar
- Flash AS3 | Change color of movieclip with TINT
- Flash AS3 | Load External Images in Flash vr. 2
- Flash AS3 | Loading External Images in Flash
-
▼
February
(9)