Thanks you Patrick and Weyert!

I tried Patrick's approach and it worked.
I had never used this __proto__ thing before.
Besides this, what do you use __proto__ or "prototype" for? I never use it. Maybe I'm missing something.

thanks,
JulianG



Patrick Matte wrote:
Nice trick. But this seems to work as well but simpler.

class com.Application{

public function Application( target ) {
 target.__proto__ = __proto__;
 this = com.Application( target );
}

}
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to