Eran
Eran

Reputation: 1702

Air html window in debugger

I have this code to open an html window from air : _win = HTMLLoader.createRootWindow(); _win.load(new URLRequest("d:/Content/testEnvironment/bin/index.html"));

this however does not open a real html window but an air window ( i think ) my problem is that when running a swf in this window it does not pop up the error messages even though when running the real html window in IE it does .

What should i do to fix this ?

Thanks

Upvotes: 2

Views: 107

Answers (1)

robmcm
robmcm

Reputation: 891

You can use the Navigate to function

navigateToURL(new URLRequest("d:/Content/testEnvironment/bin/index.html"));

This will open the urlRequest in the users default browser.

Once this is done though you will no longer be in your AIR application.

Upvotes: 2

Related Questions