I've seen plenty of examples where you have an array with 'data' and 'label' fields and I've seen how you can use a labelfunction to create custom labels for combobox, but what about the same thing for a data field?
I've got an xml file that looks like this <states> <state abbr="AK" name="Alaska"/> <state abbr="AL" name="Alabama"/> and so on....I have a label function that creates a label that looks like "AK - Alaska", but I only want the abbreviation to be the data part. zB -- "The Lord is my shepherd, I shall not want He makes me down to lie Through pastures green he leadeth me the silent waters by With bright knives he releaseth my soul He maketh me to hang on hooks in high places He converteth me to lamb cutlets For lo,m he hath great power and great hunger When cometh the day we lowly ones Through quiet reflection and great dedication Master the art of karate Lo, we shall rise up And then we'll make the bugger's eyes water." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3501 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
