Link to an External URL
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import flash.net.navigateToURL; private function goToURL() : void { navigateToURL( new URLRequest( newUrl.text ),target.selectedItem as String ); } </mx:Script> <mx:TextInput id="newUrl" top="10" left="10" right="10" text="http://www.google.com/" /> <mx:ComboBox id="target" top="40" left="10" dataProvider="{ [ '_blank', '_self' ] }" /> <mx:Button label="Go" left="10" top="70" click="goToURL()"/> </mx:Application>