Topic: Possible to load variable from webpage?

I have a remote webpage that looks like this:

myvar=5

Is there some way for my Chumby widget to get that variable? I'm trying loadVars but I think its failing because of security restrictions. If that's the case, is there some clever workaround?

Re: Possible to load variable from webpage?

Aha! Got it. For anyone else who comes down this path:

1) create a file called crossdomain.xml and put it in the root of the webserver you're pulling data from. Obviously you need access to that webserver.

2) see here for notes on the contents: http://curtismorley.com/2007/09/01/flas … nxml-file/ . For my purposes I'm not worried about security so I opened it up to all domains, like this:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros … policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>