gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Re: Hello world working with OpenLaszlo


From: strk
Subject: Re: [Gnash-dev] Re: Hello world working with OpenLaszlo
Date: Thu, 1 Mar 2007 18:12:51 +0100

On Thu, Mar 01, 2007 at 10:16:52AM -0500, P T Withington wrote:
> This has to work for our classes to work:
> 
> <script when="immediate">
>   function A () { this.constructor = arguments.callee; };
>   A.prototype.test = function () { return true; }
> 
>   function B () { this.constructor = arguments.callee; };
> 
>   B.prototype = new A();
> 
>   B.prototype.test = function () {
>     if (this.constructor.prototype.constructor.prototype.test()) {
>       _global.trace("it works");
>     }
>   }
> 
>   (new B()).test();
> </script>

Ok, this works when compiled by Ming, but not when compiled by MTASC !
Something simple to work on finally :)
Thanks!

--strk;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]