Object to ActionScript Utility

Many times we need this! We create objects and arrays and modify them through code to get them as we want. Finally the object is ready but every time it is created using the same complex procedure when the SWF runs. This affects the performance to some extent. Also...