Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Test extends flash.display.Sprite
- {
- public function new()
- {
- super();
- test();
- }
- public function test(p1:Int=13, p2:Float=0.5, p3:String="hello world", p4:Bool=true, p5:Bool=false):Void
- {
- trace(p1);
- trace(p2);
- trace(p3);
- trace(p4);
- trace(p5);
- }
- public static function main()
- {
- flash.Lib.current.addChild(new Test());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment