Yes, but without the @, since your dataProvider item is an Object, not XML.
I’d advise against binding, since it is hard to debug. Set the url in a changeHandler function. You are going to need to call send() in there anyway. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of TCash21 Sent: Monday, March 19, 2007 3:26 PM To: [email protected] Subject: [flexcoders] Re: error with HTTPService Did you try [EMAIL PROTECTED] --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "danj520" <[EMAIL PROTECTED]> wrote: > > Hello, > I'm trying to bind the returned results from a ComboBox to a url in > HTTPService. Flex returns a "Value must be quoted" error with this > statement: > > <mx:HTTPService id="productService" url="{appName.SelectedItem.url}" > result="productServiceResultHandler(event)" > showBusyCursor="true"/> > > Here's my code for theComboBox. > > <mx:ComboBox id="appName" styleName="glass" width="161" > change="productService.send();"> > <mx:dataProvider> > <mx:Array> > <mx:Object label=â€12.5V HF SSB†> url=â€data/125-hf-ssb.xml?filter=12vhgssbâ€/> > <mx:Object label=â€28V HF SSB†> url=â€data/28v-hf-ssb.xml?filter=28vhfssbâ€/> > <mx:Object label=â€50V HF SSB†> url=â€data/50v-hf-ssb.xml?filter=50vhfssbâ€/> > <mx:Object label=â€Cell Basestation†> url=â€data/cell-basestation.xml?filter=cellbasestationâ€/> > <mx:Object label=â€Cellular Mobile†> url=â€data/cellular-mobile.xml?filter=cellularmobileâ€/> > <mx:Object label=â€DME TACAN†> url=â€data/dme-tacan.xml?filter=dme-tacanâ€/> > > </mx:Array> > </mx:dataProvider> > </mx:ComboBox> > Can't seem to find much in the docs about this, except that "url" must > be quoted. What am I doing wrong? Thanks in advance. >

