fixed bug in jpeg2000 decoding
[swftools.git] / lib / as3 / ok / namespaces2.as
index 337116d..d9a029f 100644 (file)
@@ -4,24 +4,35 @@ package {
         import flash.display.MovieClip;
        
        use namespace flash_proxy;
+
        
-       /**
-        * This class acts as the public interface for both the flash api and the javascript api
-        * It is a proxy class that wraps ApiInternal. It provides a method interface, as well as
-        * exposing an event interface to flash. 
-        */
+       dynamic public class OverrideProxy extends Proxy {
+            flash_proxy override function callProperty($name:*, ...$args:Array):* {
+                    return null;
+            }
+        }
+
+       var ns2:Namespace = flash_proxy;
+
        dynamic public class Main extends flash.display.MovieClip {
                
            flash_proxy function tf(x:int):*
            {
-                trace("ok "+x+"/2");
+                trace("ok "+x+"/3");
                return null;
            }
 
+
             public function Main()
             {
                 this.tf(1);
                 tf(2);
+                var ns:Namespace = flash_proxy;
+
+               if(ns == ns2) 
+                   trace("ok 3/3");
+
+                trace("[exit]");
             }
            
        }