/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var fileUrl:String = "assets\\downloads\\myFile.jpg"; fileUrl = fileUrl.split("\\").join("/"); var fileName:String = fileUrl.substr( fileUrl.lastIndexOf("/")+1, fileUrl.length);
You need to login to post a comment.
