____  _ ____ ____ ______ ____  
|___ \| |___ \___ \____  |___ \ 
  __) | | __) |__) |  / /  __) |
 |__ <| ||__ <|__ <  / /  |__ < 
 ___) | |___) |__) |/ /   ___) |
|____/|_|____/____//_/   |____/ 
      

i pwn all thats all u need to know.

Thursday, August 2, 2007

//crossdomain guide

How to 'Crossdomain' guide, here is all you need to get you started (below). Crossdomain basically allows you to connect between servers (i.e. load in external files from external URLs/domains) pretty handy when you need information sitting on external servers.

This needs to be added to the file you are trying to receive the information from.


//crossdomain Action Script Code
Security.loadPolicyFile("http://domainX.com/crossdomain.xml");
bc[as].System.security.allowDomain("*.domainX.com");
bc[as].System.security.allowInsecureDomain("*.domainX.com");
System.security.allowDomain("*.domainX.com");
System.security.allowInsecureDomain("*.domainX.com");
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");

This need to be added to the _root of the external server you are trying to connect to to receive the data into the flash. XML files needs to be called 'crossdomain.xml'.

//crossdomain XML Code

cross-domain-policy
allow-access-from domain="*.domainX.com"
allow-access-from domain="*"
cross-domain-policy
http://3l3373.com/dl/tutorials/crossdomain/crossdomain.xml


Eyeblaster Crossdomain IPs/URLs
http://3l3373.com/dl/tutorials/crossdomain/eb_crossdomain.xml

//Sample Files
http://3l3373.com/dl/tutorials/crossdomain/crossdomain.rar

//useful links
http://moock.org/asdg/technotes/crossDomainPolicyFiles/

Labels: , , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home