PDA

View Full Version : Viewing External Data from a diff. domain


shinobitess
09-21-2006, 03:39 AM
i read from somewhere that its impossible unless you have access to the other domain's server.

but i seen others use it.

like how some gaming sites offer these flash-sig size banners that show the players stats. they can be used on most sites/forums. (i.e: shatter-rock (http://forums.halo-universe.com/index.php?showtopic=1292))
doesnt these use external data to update the stats?

or when playing a simple mp3 on your myspace on those special flash mp3 players with playlist. arent the mp3's and player itself on a different domain &/or server?


i just want to be able to add a dynamic field that reads external txt thats on my server. why doesnt it work?

:confused:

Cota
09-21-2006, 05:32 AM
You need the cross domain policy file
http://www.actionscript.org/forums/showthread.php3?t=114108

shinobitess
09-21-2006, 06:18 AM
i read it 3 times.
i took in some parts

<?xml version="1.0"?>

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

what did that mean^? i didnt understand all the "*" / "*.*" talk.
cross-domain file??
i dont get it >.<

Cota
09-21-2006, 07:09 AM
This will help explain it better
http://www.moock.org/asdg/technotes/crossDomainPolicyFiles/