Chat with us, powered by LiveChat

Flash player 9: relative url with colon and dot signs

November 1st, 2007 by Alex Batsuev

Interesting in URLLoader and URLRequest.

If you are trying to load file using relative URL, that contains colon (“:”) and dot(“.”) in param values, you receive security error:

var request:URLRequest = new URLRequest("/test.flash?p=smth::else");
var request:URLRequest = new URLRequest("./test.flash?p=smth::else");

are not valid URL’s for Flash Player because flash player doesn’t escape “:” in urls.

You should use absolute URL’s for it:


var request:URLRequest = new

No Comments Yet