Open a webpage in flex application

How to open a website (example www.cnn.com) in a Flex application?

+3
source share
1 answer

I understand that you are trying to open the URL in the system browser by default. Try it.

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 want to open the URL in the Flex application, you can check here

+7
source

Source: https://habr.com/ru/post/1791387/


All Articles