added kerning support to record device
[swftools.git] / lib / as3 / ok / hide.as
1
2 package {
3     var xx = "error";
4
5     function print_xx()
6     {
7         trace(xx);
8     }
9
10     import flash.display.MovieClip;
11     public class Main extends flash.display.MovieClip {
12
13         public var xx = "error";
14
15         public static function f() 
16         {
17             // this sets the *package* variable x, 
18             // *not* the class variable (which is unreachable from here)
19             xx = "ok 1/1";
20         }
21
22         public function Main() {
23             f(); // run static function
24             print_xx();
25             trace("[exit]");
26         }
27     }
28 }