I found an interesting nugget of truth today or as I like to say, a "FleX-File". It seems that when referencing members of a ColdFusion structure of queries as an Object in something other that a Flex Datagrid or TileList (both of which have the dataProvider attribute), you should use a _items prefix in your ActionScript code - something like this:
var objMy:Object; // my Object from a CFC Struct-o-Query
for (var i=0; i<=objMy.length; i++) {
mx.controls.Alert.show("Field Data: " + objMy._items[i].your_field_name);
}
Sample Struct-o-Query |
Let's Flex It
Sample Struct-o-Array |
Let's Flex It |