From: kramm Date: Tue, 30 Dec 2008 22:48:57 +0000 (+0000) Subject: test "Class.staticmember" syntax X-Git-Tag: release-0-9-0~579 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ee1c05e016f32f7cbf53232eb9aa7c4a4bda746c;p=swftools.git test "Class.staticmember" syntax --- diff --git a/lib/as3/ok/static.as b/lib/as3/ok/static.as index 0811fe4..9a3b35a 100644 --- a/lib/as3/ok/static.as +++ b/lib/as3/ok/static.as @@ -2,29 +2,33 @@ package { import flash.display.MovieClip; public class Main extends flash.display.MovieClip { - static var ok1 = "ok 1/7"; - static var ok2:String = "ok 2/7"; + static var ok1 = "ok 1/8"; + static var ok2:String = "ok 2/8"; static function ok5() { - trace("ok 5/7"); + trace("ok 5/8"); } - static var ok3:String = "ok 6/7"; - static var ok4:String = "ok 7/7"; + static var ok3:String = "ok 6/8"; + static var ok4:String = "ok 7/8"; static function f(s) { trace(s); trace(ok4); } + static var ok8:String = "ok 8/8"; function Main() { trace(ok1); trace(ok2); - ok1 = "ok 3/7"; - ok2 = "ok 4/7"; + ok1 = "ok 3/8"; + ok2 = "ok 4/8"; trace(ok1); trace(ok2); ok5(); f(ok3); + trace(Main.ok8); + + XML.prettyPrinting = true; } } }