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:
e.g.:
var request:URLRequest = new URLRequest("/test.flash?p=smth::else");
or
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:
e.g.:
var request:URLRequest = new
URLRequest("http://localhost:8080/test.flash?p=smth::else");
- Categories: Uncategorized
- No Comments »