I don't think so, but why would you need to do this anyway?

Jason Merrill 
Bank of America 
Enterprise Technology & Global Risk L&LD 
Instructional Technology & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf Of Alan
>>Sent: Tuesday, July 29, 2008 3:39 PM
>>To: [email protected]
>>Subject: [Flashcoders] renaming a key/property in AS3
>>
>>Hi all,
>>
>>Is there a quick and dirty way to rename a key in a property in as3?
>>
>>Something like:
>>
>>var myObject:Object={one:1,three:2};
>>myObject[['three']]='two';
>>=
>>{one:1, two:2}
>>
>>Surely there's a way to do this without rolling my own method 
>>that duplicates the entry and then deletes the old one?
>>
>>Thanks,
>>Alan
>>
>>
>>  
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to