royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] 10/29: replace navigateToURL with BrowserWindow.open
Date Thu, 02 Aug 2018 00:44:13 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 963431d0cfabb1190a36534cd8b61cec6d4f3822
Author: Alex Harui <aharui@apache.org>
AuthorDate: Tue Jul 31 12:33:51 2018 -0700

    replace navigateToURL with BrowserWindow.open
---
 examples/mxroyale/tourdeflexmodules/src/explorer.mxml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/mxroyale/tourdeflexmodules/src/explorer.mxml b/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
index e9f5a6f..0cad1c7 100755
--- a/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
+++ b/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
@@ -24,6 +24,7 @@
      <fx:Script>
         <![CDATA[
 		import mx.core.FlexGlobals;
+        import org.apache.royale.core.BrowserWindow;
 
 		static protected const VERSION:String = "1.2";	
 		static protected const TITLE:String = "Tour De Flex Component Explorer";
@@ -143,8 +144,7 @@
 			
 		private function gotoHome(event:Event):void
 		{
-			var urlRequest:URLRequest = new URLRequest("http://flex.apache.org/download-tourdeflex.html");
-			navigateToURL(urlRequest);
+			BrowserWindow.open("http://flex.apache.org/download-tourdeflex.html");
 		}
 		
 		private function openNode(application:String):void


Mime
View raw message