This ObjectUtility class is primarily used to extract property values from dynamic objects
public static function getProperty(caller:Object, obj:Object, propertyName:Object):*
Extracts propertyName from obj
Parameters
| caller:Object — The object invoking this function.
|
|
| obj:Object — The object to extract a property value from
|
|
| propertyName:Object — The String representing a property to extract. propertyName supports a dot.dot syntax as well as Arrays
i.e propertyName="myObject.myArray[3].myOtherProperty" is a valid syntax
|
Returns
Fri Oct 2 2009, 08:24 PM -04:00