You can set the url property before you call send:

  agentSrv.url = "http://flex.homesmartagent.com/paperless/genDocs/"; 
+ fileNum.text + "/agentList.xml";
  agentSrv.send();


Doug

--- In [email protected], "Jeremy Rottman" <[EMAIL PROTECTED]> 
wrote:
>
> I am using httpservice to read a xml file that I write for 
documents
> on my server. The issue that I have run into is how do I create a
> dynamic http server. Here is what I am currently trying.
> 
> What I had expected it to do is to read the agentList.xml file in
> folder number defined by fileNum.text.
> 
> Is there any way that I can do this?
> 
> <mx:HTTPService id="agentSrv"
> 
url="http://flex.homesmartagent.com/paperless/genDocs/fileNum.text/ag
entList.xml"
> useProxy="false"
>         result="agentID = new
> ArrayCollection(agentSrv.result.list.employee)"/>
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to