I have an app that uses a google spreadsheet to populate a menu and some related pages. Works great in debug but gives the “security error” when released.
It seems like some google services (eg picasa) permit flex apps to access them. Is google docs not open this way?
What is the API URL you are checking? Does that URL have a CrossDomain.xml file? If not; then you can’t access it directly from a Flex (or Flash Player) app. You’ll have to use a Proxy of sorts.
Most people implement Proxy’s on the server side. Basically, your Flex app will call the proxy and send the appropriate data. The proxy will then call the API (in this case Google Docs), get the results of that call, and then return the results to the Flex app.
Doing a quick search, I found this page. Are you trying to access the spreadsheets.google.com URL? If so, check out it’s crossdomain.xml file. It appears to prevent all access.