New Flash Player new issues…

Posted on June 12, 2008
Filed Under AS3, Flash Tips, General |

In the new Flash Player 9,0,124,0 there is a lot of new security changes…
If you are (like me) used webService and the server is in a other domain then you will get a sweet secure error:
Server Error: [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]

What I did was adding this line in the crossdimain.xml file and the error went away!
<allow-http-request-headers-from domain=”*” headers=”*”/>

So here is the complete crossdomain file:
<cross-domain-policy>
<allow-http-request-headers-from domain=”*” headers=”*”/>
 <allow-access-from domain=”*” />
</cross-domain-policy>

If you are usingSocket connection in flash the problem is not this easy to fix. Read this article about the new socket security rules:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html

Here you can read about the new security rules for flash player 9,0,124,0
http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_update.html

Leave a Reply




For and by the developers at swedish digital agency Projector.