added kerning support to record device
[swftools.git] / lib / as3 / ok / namespaces2.as
1 package {
2         
3         import flash.utils.*;
4         import flash.display.MovieClip;
5         
6         use namespace flash_proxy;
7
8         
9         dynamic public class OverrideProxy extends Proxy {
10             flash_proxy override function callProperty($name:*, ...$args:Array):* {
11                     return null;
12             }
13         }
14
15         var ns2:Namespace = flash_proxy;
16
17         dynamic public class Main extends flash.display.MovieClip {
18                 
19             flash_proxy function tf(x:int):*
20             {
21                 trace("ok "+x+"/3");
22                 return null;
23             }
24
25
26             public function Main()
27             {
28                 this.tf(1);
29                 tf(2);
30                 var ns:Namespace = flash_proxy;
31
32                 if(ns == ns2) 
33                     trace("ok 3/3");
34
35                 trace("[exit]");
36             }
37             
38         }
39 }