May 2018


          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
 
FEEDS
 
ARCHIVES
 
RECENT ENTRIES
 
OTHER BLOGGERS
 
AGGREGATORS
 
SOCIAL NETWORKS
:: 05/24/2005 ::
Flex & Structure of Queries
Return   Back To Top
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

 

canada goose femme pas cher Soldes Louboutin Chaussures Soldes Louboutin louis vuitton taschen outlet louboutin outlet uk billig canada goose canada goose tilbud goyard pas cher longchamp bags outlet Monlcer udsalg billige parajumpers YSL replica sac louis vuitton pas cher Canada Goose Pas Cher Canada Goose Outlet UK Moncler Outlet uk goyard replica bags polo Lacoste pas cher Bolsos Longchamp España Moncler Jakker tilbud Doudoune moncler pas cher Parajumpers Jakker tilbud Ralph Lauren Soldes Parajumpers Outlet louis vuitton replica Moncler Jas sale Billiga Canada Goose Jacka Canada Goose outlet Billiga Moncler Doudoune Canada Goose Pas Cher Canada Goose Pas Cher Louboutin Soldes Canada Goose Pas Cher Hemers replica Doudoune Canada Goose Pas Cher prada replica Canada Goose Pas Cher Canada Goose Soldes Doudoune Canada Goose Pas Cher Canada Goose Pas Cher Canada Goose outlet Canada Goose outlet Canada Goose outlet