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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to