0

Thanks for reading in advance.

I am making a dummy mobile screen where a user should type a URL in a textbox and the url shall be loaded in a mobile window. I have made all the designs. But can somebody please suggest how to do that please.?

themajiks
  • 420
  • 1
  • 8
  • 23

1 Answers1

1

You can get the textbox content via its text property. If you are using a normal text input field named myTextBox :

var myUrl:String = myTextBox.text.trim(); // Use trim to strip white spaces!!
getURL(myUrl, "_blank");
Shyam Bhimani
  • 1,310
  • 1
  • 22
  • 37
cancrexo
  • 54
  • 2