ObjectHandler API For Flex

Below is a really useful class that I wrote for handling multiple levels of nested objects. For instance, let’s say in Flex 1.5 you have a tree and it’s dataProvider has to be reset dynamically whenever a node is selected so that each node can receive a small soap message that can be converted to native ActionScript Objects rather than having one big soap message sent over the wire for the entire tree – run-on sentence if ever there was one.

This approach is much more efficient. The only way to do this is to have an object container with any level of nested objects as properties of the container and so on. The class below will locate any object in the container regardless of where it resides in the object hierarchy and append additional objects to the specified object, return that object or delete that object.

Click here to download the ObjectParser

{Sorry, Comments are currently Closed! }