X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fok%2Fconst.as;h=2ff88be89f1be7c8ab723c4105f328adee16e0f1;hb=4da50aa69285c6f5abd97e41dd195648b8df49fe;hp=a9517aa475b9f4b041fa54656670b8545c177978;hpb=d9ef7c0f7757575fb40ba2a59b5cac201a5c27fc;p=swftools.git diff --git a/lib/as3/ok/const.as b/lib/as3/ok/const.as index a9517aa..2ff88be 100644 --- a/lib/as3/ok/const.as +++ b/lib/as3/ok/const.as @@ -2,19 +2,35 @@ package { import flash.display.MovieClip public class Main extends flash.display.MovieClip { - const ok1:String = "ok 1/4"; - static const ok2:String = "ok 2/4"; + const ok1:String = "ok 1/6"; + static const ok2:String = "ok 2/6"; - const ok3:String = "ok 3/4"; - static const ok4:String = "ok 4/4"; + const ok3:String = "ok 3/6"; + static const ok4:String = "ok 4/6"; + + const ok5:String = "ok 5/6"; + static const ok6:String = "ok 6/6"; function Main() { trace(ok1); trace(ok2); trace(this.ok3); trace(Main.ok4); + f1(); + f2(); trace("[exit]"); } + function f0(x:Number=1000) + { + } + function f1(x:String=ok5) + { + trace(x); + } + function f2(x:String=ok6) + { + trace(x); + } } }