swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Cross domain issue


From: DannyT
Subject: [Swftools-common] Cross domain issue
Date: Wed, 8 Sep 2010 10:38:43 +0100

I'm trying to host the swfs generated by pdf2swf over a cdn, I've setup a crossdomain policy file and the swfs loaded are purely for viewing (no cross-scripting). The swfs were compiled with the T9 argument so I believe it shuold include security.allowdomain, however I am still getting security sandbox errrors whilst trying to load them.

Can anyone help with this? All I want to do is load a swf from a different sub-domain into my application for viewing. It does get cached as bitmap data so I guess that means there is some level of cross-scripting occurring but beyond this I'm clueless.

Have I missed something, is there someway to check for security.allowdomain? From another thread I found a reference to swfdump, the output of which is below, does the lack of allowdomain call in there indicate something went wrong with the swf generation?

TIA,
Dan

Swfdump output:

C:\Program Files\SWFTools>swfdump 5.swf
[HEADER]        File version: 9
[HEADER]        File is zlib compressed. Ratio: 82%
[HEADER]        File size: 185622
[HEADER]        Frame rate: 0.250000
[HEADER]        Frame count: 1
[HEADER]        Movie width: 1240.00
[HEADER]        Movie height: 1753.00
[045]         4 FILEATTRIBUTES usenetwork as3
[009]         3 SETBACKGROUNDCOLOR (ff/ff/ff)
[030]      7236 DEFINEFONT2 defines id 0005
[020]        36 DEFINESHAPE3 defines id 0001
[01a]         7 PLACEOBJECT2 places id 0001 at depth 0001 (clip to 0009)
[020]        42 DEFINESHAPE3 defines id 0002
[01a]         5 PLACEOBJECT2 places id 0002 at depth 0002
[015]    174739 DEFINEBITSJPEG2 defines id 0003
[002]        46 DEFINESHAPE defines id 0004
[01a]         5 PLACEOBJECT2 places id 0004 at depth 0003
[021]       129 DEFINETEXT2 defines id 0006
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0006 at depth 0004
[021]       144 DEFINETEXT2 defines id 0007
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0007 at depth 0005
[021]        63 DEFINETEXT2 defines id 0008
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0008 at depth 0006
[021]       882 DEFINETEXT2 defines id 0009
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0009 at depth 0007
[021]        88 DEFINETEXT2 defines id 0010
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0010 at depth 0008
[021]      1977 DEFINETEXT2 defines id 0011
[04a]        12 CSMTEXTSETTINGS (flashtype,pixel grid,s=0.00,t=0.00)
[01a]         5 PLACEOBJECT2 places id 0011 at depth 0009
[001]         0 SHOWFRAME 1 (00:00:00,000)
[000]         0 END


--
http://danny-t.co.uk

reply via email to

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