Append variables to the request string before Sending data with a URLRequest object
import flash.net.*; public function executeSearch(event:MouseEvent):void { var u:URLRequest = new URLRequest("http://www.google.com/search?hl=en&q=" + ta1.text); navigateToURL(u,"_blank"); }