Flash under mySource Matrix

Hi Guys,


There is a flash file(.swf) under my website, this flash file will call a XML file to get the data. But looks mySource Matrix block the flash to call a xml file from different address.



I can see the image inside the flash file, but can't see any data from xml file. :ph34r:



Did anyone know how can I fix this problem, please?



cheers

[quote]
Hi Guys,



There is a flash file(.swf) under my website, this flash file will call a XML file to get the data. But looks mySource Matrix block the flash to call a xml file from different address.



I can see the image inside the flash file, but can't see any data from xml file. :ph34r:



Did anyone know how can I fix this problem, please?



cheers

[/quote]



I am sure that it has to do with Matrix changing the webpaths to apache paths. Go to the details screen of all the files that you need for this, and change "Allow Unrestricted" to NO. This will make Matrix serve the files, and the file heirachy will remain.

For flash we develop internally we generally pass the paths to file assets via the flashvars attribute in the embed html. This has the flexibility of changing file names, locations, publishing status without ever having to edit and republish your swf movie from flash, you just change the parameter in the html. If your embed HTML is inside a matrix bodycopy or design you can also use the ./?a= syntax to refer to an asset id instead of hard coding a path in the html. There's a ton of documentation out there on using flashvars, this issue isn't particular to Matrix.