[Top][All Lists]
[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;
- Re: [Laszlo-dev] [Gnash-dev] Hello world working with OpenLaszlo, (continued)
[Gnash-dev] Re: Hello world working with OpenLaszlo, P T Withington, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, P T Withington, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, P T Withington, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, P T Withington, 2007/03/01
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo,
strk <=
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/03
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, Henry Minsky, 2007/03/03
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/04
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, Henry Minsky, 2007/03/04
- Re: [Gnash-dev] Re: Hello world working with OpenLaszlo, strk, 2007/03/06
- Re: [Laszlo-dev] [Gnash-dev] Re: Hello world working with OpenLaszlo, Jason Stafford, 2007/03/08