简体   繁体   中英

Open a webpage in flex application

如何在Flex应用程序中打开Web(例如www.cnn.com )?

I understand that you are trying to open an url in the default system browser.Please try this.

var urlRequest:URLRequest = new URLRequest("http://www.adobe.com/");
            //To open in a new tab
            navigateToURL(urlRequest,_blank);
            //To open on top of the same page
            navigateToURL(urlRequest,_top);

If you are looking to open an url within a Flex application you check here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM