Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 153
Registered: ‎10-26-2010
My Device: Bold 9900
My Carrier: AT&T

navigateToURL() issues

Hi,

I am trying to change this line:

navigateToURL(new URLRequest("http://playbookwiki.org/index.php/BASIC"));

to this line:

navigateToURL(new URLRequest("file://" + File.applicationDirectory.nativePath + "/helppage.html"),"BASIC Help");

so the server can be turned off.

I get an error:

This file cannot be opened.  Check the you have the correct permissions and try again.


I have access_shared permission already plus I can see air/helppage.html in the .bar file.

What am I missing?

Harry
--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide, SuperClip
Accepted OS4-7 SmartPhone App: KeepLightOn
Developer
Posts: 153
Registered: ‎10-26-2010
My Device: Bold 9900
My Carrier: AT&T

Re: navigateToURL() issues

ooops, forget this.  I dug back two years in this forum and found a solution.

--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide, SuperClip
Accepted OS4-7 SmartPhone App: KeepLightOn