It always intrigued me how this method worked internally. First, when I
register this (AS2):
Object.registerClass('mylinkageid_or_myobjectname',myclass);
1)How does flash knows that each time I create a new instance of the
object/movieclip symbol it should attach it to the class specified? Is it
internal to the Flash Player OR is it implemented in pure ActionScript? Does
Flash keep a kind of a dictionary list or hash table to keep all these
values?
2)What also defies me is how does flash automatically instantiates the
correct Value Object class when you use a application server such as AMFPHP
1.2... does AMFPPHP send a class namepsace metadata together with the object
and the flash remoting engine reads that and then applies the correct class
depending on the class that has been registered with registerClass() /
registerClassAlias() (Flex 2)?
Thanks,
Marcelo.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com