added cleanup code
[swftools.git] / lib / as3 / ok / static.as
1 package {
2     import flash.display.MovieClip;
3     import flash.events.*
4
5     public class Main extends flash.display.MovieClip {
6         static var ok1 = "ok 1/10";
7         static var ok2:String = "ok 2/10";
8
9         static function ok5() {
10             trace("ok 5/10");
11         }
12
13         static var ok3:String = "ok 6/10";
14         static var ok4:String = "ok 7/10";
15         static function f(s) {
16             trace(s);
17             trace(ok4);
18         }
19         static var ok8:String = "ok 8/10";
20
21         static var _ok9:String = "ok 9/10";
22         var ok9 = Main._ok9;
23
24         function Main() {
25             trace(ok1);
26             trace(ok2);
27             ok1 = "ok 3/10";
28             ok2 = "ok 4/10";
29             trace(ok1);
30             trace(ok2);
31             ok5();
32             f(ok3);
33             trace(Main.ok8);
34             trace(this.ok9);
35             
36             XML.prettyPrinting = true;
37             
38             if(TextEvent.TEXT_INPUT == "textInput") 
39                 trace("ok 10/10");
40         }
41     }
42 }