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):* {
+ var returnValue:* = _tweens[$name].apply(null, $args);
+ realign();
+ if (!isNaN(_pauseTime)) {
+ pause(); //in case any tweens were added that weren't paused!
+ }
+ return returnValue;
+ }
+ }
dynamic public class Main extends flash.display.MovieClip {
flash_proxy function tf(x:int):*
return null;
}
+
public function Main()
{
this.tf(1);