flash on 2009-12-30
♥0 |
Line 15 |
Modified 2009-12-30 14:18:42 |
MIT License
archived:2017-03-30 11:01:44
ActionScript3 source code
/**
* Copyright hacker_yk666qry ( http://wonderfl.net/user/hacker_yk666qry )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/paNM
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
drawStar(20,0x000000);
drawStar(10,0x0000ff);
drawStar(3,0xffffff);
}
private function drawStar(line:int, col:int):void {
graphics.lineStyle(line, col);
graphics.moveTo(200,200);
graphics.lineTo(300,250);
}
}
}