View difference between Paste ID: kr93zdfp and PRwknqmY
SHOW: | | - or go back to the newest paste.
1
class Test extends flash.display.Sprite
2
{
3
	public function new()
4
	{
5
		super();
6-
		test();
6+
		var t = function test(p1:Int=13, p2:Float=0.5, p3:String="hello world", p4:Bool=true, p5:Bool=false):Void
7
		{
8-
	public function test(p1:Int=13, p2:Float=0.5, p3:String="hello world", p4:Bool=true, p5:Bool=false):Void
8+
			trace(p1);
9
			trace(p2);
10-
		trace(p1);
10+
			trace(p3);
11-
		trace(p2);
11+
			trace(p4);
12-
		trace(p3);
12+
			trace(p5);
13-
		trace(p4);
13+
		}
14-
		trace(p5);
14+
		t();
15
	}
16
	public static function main()
17
	{
18
		flash.Lib.current.addChild(new Test());
19
	}
20
}