FileReference.download must take absolute URL (not relative)?

Im using this code

var fileRef:FileReference = new FileReference();
  fileRef.addListener(listener);
  var [url:String = "[URL="http://www.macromedia.com/pladfghfgh"]images/img1.jp](http://www.kirupa.com/forum/String)g";
  fileRef.download(url, "image.jpg")

However, it doesn’t work. It works when I put the full absolute address, instead of simply “images/img1.jpg” . Is there any way to use a relative address?!?!? Probably attach the relative address to the URL property ??

Thanks!