ProfileEditor Actionscript conversion

Converted ProfileEditor to an Actionscript class