views:

98

answers:

0

Hey,

I'm developing under AIR using HTML + JavaScript. What I want to do is redirect the page ( something like window.location) using JS, to a local file (ex: login.html ). I've tried window.location but it gives me the following error:

TypeError: Value app:/MYSCRIPT.html does not allow function calls.

I've also tried something using the HTMLLoader class, but with no apparent success.

Do you know how can I do the redirect?

related questions