You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/08/02 00:44:23 UTC
[royale-asjs] 20/29: another place were navigateToURL can be
replaced by BrowserWindow
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 0f4b8127bbac7ed6ccc53d88e76b7eb65a5b411e
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Aug 1 09:20:51 2018 -0700
another place were navigateToURL can be replaced by BrowserWindow
---
examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml b/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml
index a24e8c2..80effba 100755
--- a/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml
+++ b/examples/mxroyale/tourdeflexmodules/src/SourceTab.mxml
@@ -23,6 +23,7 @@
<fx:Script>
<![CDATA[
+ import org.apache.royale.core.BrowserWindow;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
@@ -66,8 +67,7 @@
private function viewInGitHub():void
{
var gitHubLink:String = "https://github.com/apache/flex-utilities/tree/master/TourDeFlex/TourDeFlex3/src/" + srv.url;
- var urlRequest:URLRequest = new URLRequest(gitHubLink);
- navigateToURL(urlRequest, "_blank");
+ BrowserWindow.open(gitHubLink, "_blank");
}
]]>