I have reading the doco for AS2lib / reflection and have found how I
can get the class name. With the class name I can create a new
Instance. I would like to get the instance name of the original object
so that I can assign it to the new instance. Something like this:

// this is pseudocode
var s = existingObject.getName();
var x = class.forName(s).newInstance(); 
existingObject = instanceNameIfIJustKnewIt(x);

Any suggestions would be great.

Thanks,
Libby





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to