jlizarraga
11-13-2008, 10:08 PM
Hi all,
Using XMLConnector for the first time. Here's a relevant sample of the XML:
<RESULTS>
<MODEL YEAR="2008" MAKE="Ford" MODEL="E-Series Van" TRIMCOUNT="11">
<YEAR>2008</YEAR>
<MAKE>Ford</MAKE>
<MODEL>E-Series Van</MODEL>
I followed Adobe's tutorial (http://www.adobe.com/devnet/flash/articles/xmlconnector05.html) and now have a ComboBox being populated with the MODEL attribute, using the Rearrange Fields formatter and "label=MODEL". The Adobe tutorial mentions the following:
Although we do not do so here, it's also possible to concatenate multiple values as a single String in the label.
I have Googled around but can't find any information on accomplishing this with the XMLConnector. I could do this myself with plain Actionscript, but I'd much rather use the XMLConnector.
I would like the labels to be "YEAR MODEL" instead of just "MODEL".
Any tips greatly appreciated!
Using XMLConnector for the first time. Here's a relevant sample of the XML:
<RESULTS>
<MODEL YEAR="2008" MAKE="Ford" MODEL="E-Series Van" TRIMCOUNT="11">
<YEAR>2008</YEAR>
<MAKE>Ford</MAKE>
<MODEL>E-Series Van</MODEL>
I followed Adobe's tutorial (http://www.adobe.com/devnet/flash/articles/xmlconnector05.html) and now have a ComboBox being populated with the MODEL attribute, using the Rearrange Fields formatter and "label=MODEL". The Adobe tutorial mentions the following:
Although we do not do so here, it's also possible to concatenate multiple values as a single String in the label.
I have Googled around but can't find any information on accomplishing this with the XMLConnector. I could do this myself with plain Actionscript, but I'd much rather use the XMLConnector.
I would like the labels to be "YEAR MODEL" instead of just "MODEL".
Any tips greatly appreciated!