"I guess that's used to build the
'traits' that are used for faster/typed oo accesses."
 
What is meant by 'traits' in this context?  I've heard people say AS3 is a 'trait-based' language.  What does that really mean?
 
Jim Kremens

 
On 10/24/05, Nicolas Cannasse <[EMAIL PROTECTED]> wrote:

> Anyway, as a little teaser (it is fun in a way) to get people interested:
> It seems like it begins with a list of strings, each with its length
> in front of it,e.g.:
> <length: 0x21>flash.display:MovieClip$protected
>
> this bit of code:
>   str += "a";
>
> is that bytecode (or about... not sure if it actually starts there):
>   5e 0c 5d 0c 66 0c 2c 1a a0 80 07 68 0c
>
> where 0c apparently addresses "str" in the above mentioned list, and
> 1a addresses "a". I think.
>
> mark

Yes that's correct.
Then there is heritance and a list of fields and methods (the ones that the
class implements and the ones inherited). I guess that's used to build the
'traits' that are used for faster/typed oo accesses.

I don't have time right now but Flexible will target AVM2, at most when the
8.5 player will be near from being released.

Nicolas


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to