- Make sure you allow the correct domains using the System object
Example in AS2:Code: Select all
System.security.allowDomain("*");
Example in AS3:Code: Select all
import flash.system.Security;
Security.allowDomain("*"); - Install a crossdomain.xml file (for slightly older versions of Flash)
Code: Select all
<cross-domain-policy>
<allow-access-from domain="*.example.com"/>
<allow-access-from domain="127.0.0.1"/>
</cross-domain-policy>
Place this under crossdomain.xml in the following locations on your web-server:
The location of the SWFs
The location of the loading page - Checklist
[Y/N] Have I added the security line in the FLA?
[Y/N] Have I added a crossdomain.xml file?
[Y/N] If the flash document loads any external SWFs, do they point to a [Y/N] relative directory on the same domain?
[Y/N] If my flash document uses any loadVars, does it load from a relative directory on the same domain?
Important: How to ready your application for the internet
Important: How to ready your application for the internet
Just thought I should share this for people who don't know how.
Blackout
Taking over for Flappi282 here
Taking over for Flappi282 here
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: Google [Bot] and 56 guests