[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Swftools-common] crossdomain.xml

From: Claudio M. E. Bastos Iorio
Subject: RE: [Swftools-common] crossdomain.xml
Date: Tue, 30 Jun 2009 18:10:34 -0300

Mmh.. sorry I can’t help. Really don’t know then.

Are you sure that the problem is related to swftools?

All my swf files (created on flash Cs3, cs4) works fine with my example. Not using swf-tools at this time, so I can’t check.



Claudio M. E. Bastos Iorio



From: Brent Lamborn [mailto:address@hidden
Sent: Tuesday, June 30, 2009 6:04 PM
To: 'Claudio M. E. Bastos Iorio'
Subject: RE: [Swftools-common] crossdomain.xml




Thanks, but that is not quite what I am after. My crossdomain.xml works fine as well. The issue is that SWF files generated by pdf2swf from the SWFTool.org site do not obey the crossdomain.xml file. When loading them I get an exception stating that I should call Security.allowDomain – which I should not get considering my crossdomain.xml file is working and is in place.




From: Claudio M. E. Bastos Iorio [mailto:address@hidden
Sent: Tuesday, June 30, 2009 3:56 PM
To: 'Brent Lamborn'
Subject: RE: [Swftools-common] crossdomain.xml


This is an example crossdomain.xml file working on one of my projects. (.NET webservices exposing methods to flash)



<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">



       <site-control permitted-cross-domain-policies="master-only"/>

       <allow-access-from domain="*"/>

       <allow-http-request-headers-from domain="*" headers="SOAPAction"/>




Claudio M. E. Bastos Iorio



From: address@hidden [mailto:address@hidden On Behalf Of Brent Lamborn
Sent: Tuesday, June 30, 2009 5:24 PM
To: address@hidden
Subject: [Swftools-common] crossdomain.xml


Hi all,


It seems SWF generated by pdf2swf don’t adhere to the crossdomain.xml file. The issue arises when, for example – I want to do something to a SWF generated by pdf2swf that I retrieve from a web service from a different domain. I can load and display the SWF in my flash app just fine, but the moment I attempt to do anything with the generated SWF, I get a security exception. Here is a copy of my crossdomain.xml file that resides at the web service domain:


<cross-domain-policy xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">

<site-control permitted-cross-domain-policies="master-only"/>

<allow-access-from domain="*" secure="false"/>

<allow-http-request-headers-from domain="*" headers="*" secure="false"/>




With the file above, I should be able to manipulate the SWF from my flash app with no problem. Instead I get an exception telling my I need to call Security.allowDomain in the generated SWF.


Is it possible to add support for the crossdomain.xml standard  to pdf2swf or is there a known work around?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]