fixed space char detection bug
[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/12";
7         static var ok2:String = "ok 2/12";
8
9         static function ok5() {
10             trace("ok 5/12");
11         }
12
13         static var ok3:String = "ok 6/12";
14         static var ok4:String = "ok 7/12";
15         static function f(s) {
16             trace(s);
17             trace(ok4);
18         }
19         static var ok8:String = "ok 8/12";
20
21         static var _ok9:String = "ok 9/12";
22         var ok9 = Main._ok9;
23
24         static var ok11:String = "ok 11/12";
25         var ok11:int = 12;
26
27         function Main() {
28             trace(ok1);
29             trace(ok2);
30             ok1 = "ok 3/12";
31             ok2 = "ok 4/12";
32             trace(ok1);
33             trace(ok2);
34             ok5();
35             f(ok3);
36             trace(Main.ok8);
37             trace(this.ok9);
38             
39             XML.prettyPrinting = true;
40             
41             if(TextEvent.TEXT_INPUT == "textInput") 
42                 trace("ok 10/12");
43
44             trace(Main.ok11);
45             trace("ok "+ok11+"/12");
46
47             trace("[exit]");
48         }
49     }
50 }