Security.loadPolicyFile() Ignored

by jozefchutka
loading crossdomain.xml file from a custom location (not domain root) is ignored by debug player and loading files from this location fails. Can anyone confirm or fix this issue?
♥0 | Line 17 | Modified 2010-09-16 17:37:08 | MIT License
play

ActionScript3 source code

/**
 * Copyright jozefchutka ( http://wonderfl.net/user/jozefchutka )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/yLC6
 */

package
{
    import flash.display.Sprite;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.system.Security;
    
    public class WonderflApp extends Sprite
    {
        private var path:String = "http://bordel.yoz.sk/loadpolicyfile/";
        
        public function WonderflApp():void
        {
            Security.loadPolicyFile(path + "crossdomain.xml");
            
            var loader:URLLoader = new URLLoader();
            loader.load(new URLRequest(path + "text.txt"));
        }
    }
}

Forked