From: Tim K. <t....@su...> - 2006-03-01 17:27:45
|
>I noticed your're trying to add special handlin for 'this', but >I'm not sure you should. I think a 'this' will be a 'this' string >in the SWF and interpretation will be left to player. >Or, am I missing something ? No, guess you're not missing something... I'll make 'this' a simple string ok? My handling of 'this' is due to new functionality introduced by DEFINEFUNCTION2: Within DEFINEFUNCTION2 one can specify that 'this' uses a register. Consequently 'this' can be called in function body using: PUSH(r:1) GETVARIABLE ... T -----Oorspronkelijk bericht----- Van: min...@li... [mailto:min...@li...] Namens 'strk' Verzonden: woensdag 1 maart 2006 17:39 Aan: Tim Knip Onderwerp: Re: [Ming-dev] AS2 initial patch On Wed, Mar 01, 2006 at 05:17:07PM +0100, Tim Knip wrote: > Some things I know are *not* working yet: > > Constructs like: > 1. (new SomeClass()).someMethod(); > 2. (new SomeClass()).someProperty; > And: > 3. 'this' keyword is probably bugged I noticed your're trying to add special handlin for 'this', but I'm not sure you should. I think a 'this' will be a 'this' string in the SWF and interpretation will be left to player. Or, am I missing something ? > My advice for now: keep it simple, don't expect wonders (yet). > I'll try to fix the compiler in coming weeks. I'm not trying to do wonders, I can't compile this: class A { }; --strk; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Ming-devr mailing list Min...@li... https://lists.sourceforge.net/lists/listinfo/ming-devr |