import flash.display.BitmapData; class mysubclass { public var uri; function myfunc(){ trace("in f"); this.__proto__ = {}; this.__proto__.__constructor__ = flash.display.BitmapData; super(1000, 1000); } function l(){ trace("in l"); } function mysubclass(){ trace("ftop"); _global.tf = this; this.watch("name", myfunc); _global.ASnative(2204, 200)(this); this.unwatch("name"); var fi:flash.net.FileReference = new flash.net.FileReference(); trace(_global.ASnative(2204, 303).call(this)); trace(_global.ASnative(2204, 310).call(this, "test")); trace(_global.ASnative(2204, 2).call(this)); trace(_global.ASnative(2204, 1).call(this)); trace(_global.ASnative(2204, 0).call(this, "test")); } }