Try binding the entire url property to a variable that you build in
code:

  var myUrl: String = "";
  function buildMyUrl(s: String) {
      myUrl = "http://something.com/api/someting/" +
          s + "/somethingelse/something";
  }

<mx:HTTPService url="" ... />


Then just call "buldMyUrl(textinput.text)" somewhere, such as the
click handler for a button or just before you call your
httpservice's send() method.


--- In flexcoders@yahoogroups.com, Faisal Abid <[EMAIL PROTECTED]> wrote:
>
> Okay so for the past 4 hours + 3 hours at night ive been debugging
my
> application only to come to the conclusion that in a httpservice
url i
> cannot do this
>
> <mx:httpservice
> url="" href="http://something.com/api/someting/">http://something.com/api/someting/
{textinput.text}/somethingelse/something"
>
> The httpservice is fine , i test it in a broswer by replacijng
> texinput.txt to something and it returns what its ment to , but in
flex
> it gives me an error saying i must defind a url, I mean it is
defined ,
> i know there is a workaround to & by puttin &amp; But What the hec
is
> wrong with my url??
>






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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to