This is driving me crazy right now!
var url gets defined longer up.
url = url + ".jpg";
var fileRequest:URLRequest = new URLRequest(url);
That's doesn't work for some reason... the ".jpg" doesnt get added. BUT, if I try to do this:
url = ".jpg" + url;
var fileRequest:URLRequest = new URLRequest(url);
It works, but I don't want the .jpg to be at the begining of the url ofcourse...