Questions
Answer
How to load assets from a different domain using crossdomain.xml

If you're trying to load assets (e.g. images, videos) from a different domain than the one where the SWF file is hosted, you'll need a crossdomain.xml file hosted on the domain where the assets are located to allow the required files to be loaded in the SWF.
Here is an example situation:
The SWF file along with all XML files are hosted on yourDomain.com
The images are hosted on yourOtherDomain.com
You have to create a crossdomain.xml file in the root of yourOtherDomain.com with the following content:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="yourDomain.com"/>
</cross-domain-policy>
This situation also applies in the case you have configured your website in such a way that yourdomain.com does not redirect to www.yourdomain.com and you're trying to load assets from one domain to another.
Note: DO NOT add http:// or https:// in front of domain names.
Comments
Do you have a question?
you will get an answer in 24 hours, tops.





teknogeek1300
Posted 25 days agoIs it possible to use URL’s without a crossdomain.xml file?
Ex: “http://i49.tinypic.com/e7e8ba.jpg
Hi. Yes with a php proxy.
Keith
Posted 2 months agoHi there,
I am using a localhost environment to load an XML file (contains paths to local files) into Flash. These paths are then passed to a php file (on localhost) which does some encoding and sends back encoded file paths. The Flash file then loads these assets.
My problem is thus, the flash file works perfectly and loads all the encoded data when tested in priviledged mode (from flash) but when I try to test through the localhost/(..path to .swf) only the php encoding works, flash is refusing to load the local assets that are passed back from the php script.
Any advice on how best to set this up in terms of allowing access to the local files would be greatly appreciated.
Hello. What error you get?
Raj
Posted 2 months agowill I be able to use the components both in Joomla and WordPress platform?
Yes
BigDanBud
Posted 5 months agoWhen I do a search on Google for L’oasis Gourmande , I get this
DockGalleryFX
www.loasisgourmande.com/ – Traduire cette page
How can I replace DockGalleryFX by L’oasis Gourmande when I made that search
Sorry for the english ;)
Heve a nice day n thank u
BigDan
Are you still facing this problem?
Wolla
Posted 9 months agohave send it by E-Mail as well
You have to set the link you want to use for both url and action attribute for the menu’s item you want.