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

  • Page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • >
  • loading comments...

teknogeek1300

Posted 25 days ago

Is it possible to use URL’s without a crossdomain.xml file?

Ex: “http://i49.tinypic.com/e7e8ba.jpg

FlashXML Support

Hi. Yes with a php proxy.

Keith

Posted 2 months ago

Hi 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.

FlashXML Support

Hello. What error you get?

Raj

Posted 2 months ago

will I be able to use the components both in Joomla and WordPress platform?

FlashXML Support

Yes

BigDanBud

Posted 5 months ago

When 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

FlashXML Support

Are you still facing this problem?

Wolla

Posted 9 months ago

have send it by E-Mail as well

FlashXML Support

You have to set the link you want to use for both url and action attribute for the menu’s item you want.

  • loading comments...
  • Page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • >

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at] flashxml.net.
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2013