I would like to check if the file exists and if not display noimage.gif. The below is returning false in the console, can you help?
...
[Bindable]
private var imageName:String;
imageName = "pca" + this._product.productID + ".jpg";
var fileName:File = new File()
fileName.nativePath = "C:/STSMultimediaSync/market/pictures/{imageName}";
trace(fileName.exists);
....
PS - I know the file exists as when I hard code the image name, the value changes to true.