7/22/2010 2:33:43 AM
Title:
swf is not opening in flexpaper
Hi all
im using flex paper when i try to access some swf files i got error (some swf is working but some are not) is this related to size.,my swf size is near about 33 mb.
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at rfx::MainTimeline_990bfdb31b792233cf6ba9d65cdd6a27()[constructor.as:0]
7/22/2010 6:23:42 AM
this is security error which occurs when you try to access external content into flash application. place the crossdomain file in the content folder which will be automatically checked by flash player when accessing the content. Crossdomain file is placed in either in domain root or in the folder where content is placed.
See the following format of cross domain file which permits the data to be accessible by flash file from any domain. Remember it is to be placed on the content domain and not of the flash file domain. Save this file as crossdomain.xml in notepad
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" />
</cross-domain-policy>
7/22/2010 8:38:59 AM
plz explain where i put this code ?
i mean if i write this code in "crossdomain.xml" and save it then how to call this in my error page?
or i have to wite this in my .mxml page(where error occurred).
thanks a lot for reply
7/22/2010 9:00:52 AM
you just need to place the crossdomain file in the domain root where your assets are . ie
your assets are at abc.com\assets then you just need to place the crossdomain at abc.com\crossdomain.xml. nothing to write in the application . When flash file runs and try to access the content , it automatically searches for the crossdomain file at the domain root and loads it.
7/22/2010 10:19:29 PM
Hii Good Morning,
First of all thanks for reply ,
Here the problem is that this concept is also not working still the error is same , i also try crossdomain.xml to put in every folder eg: root and content folder(same where the content).
What should i do plz suggest..
Thanks
Gourav