<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
		layout="vertical"
		verticalAlign="middle"
		backgroundColor="white" viewSourceURL="srcview/index.html">

	<mx:Script>
		<![CDATA[
			import flash.net.navigateToURL;

			private function newWin(url:String):void {
				var urlRequest:URLRequest = new URLRequest(url);
				navigateToURL(urlRequest, String(comboBox.selectedItem));
			}
		]]>
	</mx:Script>
	
	<mx:ApplicationControlBar dock="true">
		<mx:Label text="window:" />
		<mx:ComboBox id="comboBox">
			<mx:dataProvider>
				<mx:String>_blank</mx:String>
				<mx:String>_top</mx:String>
				<mx:String>CustomName</mx:String>
			</mx:dataProvider>
		</mx:ComboBox>
	</mx:ApplicationControlBar>

	<mx:LinkButton label="Go to adobe.com"
			click="newWin('http://www.adobe.com/')" />
	
</mx:Application>
