flash on 2013-4-12
/**
* Copyright isekia ( http://wonderfl.net/user/isekia )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/dru2
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
graphics.lineStyle(32,0x000011);
drawStar();
graphics.lineStyle(26,0x0000ff);
drawStar();
graphics.lineStyle(10,0x0000bb)
drawStar()
}
private function drawStar():void{
graphics.moveTo(100,100)
graphics.lineTo(130,15)
graphics.lineTo(160,100)
graphics.moveTo(160,15)
graphics.lineTo(190,100)
}
}
}