How to specify custom location for crossdomain.xml in actionscript?

We host swf assets on the media hosting server and cannot get the file in the root directory, does anyone know what the code looks like to indicate the user location for crossdomain.xml? Sample code, if you have one.

+3
source share
1 answer

I hate answering my question, but I found the code, so I thought I posted it here to add to the reference value of this question:

extracted from: http://www.voiceoftech.com/swhitley/?p=117

crossdomain.xml SSL , . , - SSL-.

flash.system.Security.loadPolicyFile( "{Url crossdomain.xml SSL}" );

Google Flash-.

+3

Source: https://habr.com/ru/post/1698420/


All Articles