From: 'strk' <st...@ke...> - 2006-03-01 17:32:53
|
On Wed, Mar 01, 2006 at 06:26:23PM +0100, Tim Knip wrote: > >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 ... Oh, I see. Well. it's nice to have it as a register then :) But.. how is it specified ? Can AS programmer instruct compiler in a special way, or has it to be considered an optimization process ? --strk; |