Highlighted

How to navigate to URL from Flex application contained within an AIR wrapper?

New Here ,
Aug 19, 2017

Copy link to clipboard

Copied

I have a Flex application loaded into AIR with an htmlLoader. The Flex application displays a link that when clicked, calls navigateToURL(...) and displays a new browser window. This functionality works with the Flex application, however it does nothing when wrapped in AIR. Any thoughts? Thanks.

TOPICS
Development

Views

366

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to navigate to URL from Flex application contained within an AIR wrapper?

New Here ,
Aug 19, 2017

Copy link to clipboard

Copied

I have a Flex application loaded into AIR with an htmlLoader. The Flex application displays a link that when clicked, calls navigateToURL(...) and displays a new browser window. This functionality works with the Flex application, however it does nothing when wrapped in AIR. Any thoughts? Thanks.

TOPICS
Development

Views

367

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 19, 2017 0
Enthusiast ,
Aug 20, 2017

Copy link to clipboard

Copied

first, check navigateToURL() errors like IOError and SecurityError,
second, check HTMLHost.createWindow() in relation with HTMLWindowCreateOptions


eg.

By default, a JavaScript call to window.open() in the HTML page of an HTMLLoader does not open an new NativeWindow object in the runtime. You can open a new NativeWindow object in the runtime by creating a new NativeWindow object in the createWindow method override in the subclass of the HTMLHost class.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 20, 2017 1