I have an Input Text box and a button. I want a user to type in the input text box and be able to use it when the button is clicked. Here is the ActionScript I have attached to the button. What gives?
on(click){
var search:String = searchTXT.text; //input text box
var link:String = " //the site
var url:String = link + search; // The site + the input text box
getURL(url, "_blank", "GET");
}
on(click){
var search:String = searchTXT.text; //input text box
var link:String = " //the site
var url:String = link + search; // The site + the input text box
getURL(url, "_blank", "GET");
}