|
-
KoolMoves Moderator
Cross Domain XML is FIXED!!!!
Just found out that as of Flash Player 7.0.19.0 and above you can get cross domain XML with a policy file on your own server. This is GREAT....
What you do is create an XML file that lists the domains that it's ok to retrieve from and in you flash movie you can load this in with
System.security.loadPolicyFile("http://foo.com/sub/dir/pf.xml");
More info on Macromedia site
http://livedocs.macromedia.com/flash...rt4_ASLR2.html
Example I just finished tonight that takes advantage of this.
http://www.bretlanius.com/flash/NoaaWeather.html
If you get the station ID for your area you can put it in the swf as NOAAweather.swf?station=XXXX and it will show your local weather.
Station Id codes are at http://www.weather.gov/data/current_obs/
Last edited by blanius; 12-30-2005 at 12:05 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|