1 Reply Latest reply on Feb 23, 2007 11:30 AM by 187_2007

    textInput

    GeorgeWS Level 1
      I have a TextInput box. I want to type into the box and have the text go to a URLRequest so I can add the text to the url string that gets sent to another page when a button is pressed.

      Thanks
      George
        • 1. Re: textInput
          187_2007
          My guess below :::::

          private var myText:String;

          public function sendTxt():void{
          myText:String = txt_ID.text; //something like this
          //URLREQUEST invoke here
          }

          <MX:URLREQUEST send="{myText}"> <!-- Something like this -->

          <mx:textInput id="txt_ID" value=""/>
          <mx:button label="send" click="sendText()"/>