Hi Chris
You can use this method that returns file name from url:
var fileName:String = fileName = getFileName(urlString);
private function getFileName(url:String):String {
return url ? url.substr(url.lastIndexOf("/") + 1) : null;
}
Hi Chris
You can use this method that returns file name from url:
var fileName:String = fileName = getFileName(urlString);
private function getFileName(url:String):String {
return url ? url.substr(url.lastIndexOf("/") + 1) : null;
}