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;
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev