Air Security sandboxes

I’m trying to create an air application.

I’ve got a class that’s opening a textfile from a computer, then using the credentials from the file to submit to a website to pull the required information.

I’m getting a sandbox error? I dunno what to do, where to start? Both classes trace out that:

Child sandbox for credentials is: application

Yet I’m still getting a:

*** Security Sandbox Violation ***
Connection to
http://www.somedomain.com - not permitted from app:/Air2.swf

Any help would be greatly appreciated!