Topic: Possible to access outside data file?

I want to load a datafile off a webserver. I see the notes about security issues, but the discussions I see also say there's ways around it.

Are there?

If so, possible to point me to an example, or post something?

I just want to load a couple of variables.

Currently I'm attempting this with:

_level0.loadVariables("http://gizmoware.net/chumby/test.txt","");

This works when run locally, but alas not on the Chumby.

Any help greatly appreciated.

2 (edited by GavinK151 2008-03-06 02:27:31)

Re: Possible to access outside data file?

I cant help really other than to say I have a similar issue - loading a page from a remote location - works when the flash file is run locally but not on the Chumby.  For what its worth I am using the XML sendAndLoad method instead...

now I think there is something to do with a file called "crossdomain.xml" that needs to be with your data file... I only remember reading about this in passing so will have another search for the details...

....

ok this might help you http://www.crossdomainxml.org/ - I cant try an experiements myself just now but let me know if having a crossdomain.xml file helps you, I will try it tonight.

Re: Possible to access outside data file?

I use cross domain for my widgets that get data from my server.

matt

Re: Possible to access outside data file?

Is there an example somewhere, or a tutorial?

Re: Possible to access outside data file?

Hello,
It is a security problem. Your server doesn't allow to be called by a flash file in an other domain.
But there is a solution.  You need to create a crossdomain.xml file that you'll put in the root of your server with the allowed domain names.

See here the full info about crossdomain.xml file: http://kb.adobe.com/selfservice/viewCon … d=tn_14213