Results 1 to 2 of 2

Thread: Display concatenated attributes in ComboBox labels with XMLConnector?

  1. #1
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default Display concatenated attributes in ComboBox labels with XMLConnector?

    Hi all,

    Using XMLConnector for the first time. Here's a relevant sample of the XML:

    Code:
    <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 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!

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I don't use the XMLConnector because I find it clumsy for the sorts of thing that i do on a daily basis. It's easier when working with moderate amounts of data. But there comes a certain threshold when it gets to be a hindrance.

    Anyway, from that quote that you posted, it sounds like you're just concatenating the label names. Something like: label=year+model, perhaps? That's a total guess but I don't see what else it could be.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •