- 1
- 2
- 3
- 4
var strLabel:String = (_numCurrentUpload + 1) + "/" + _filesToUpload.length;
strLabel = (_numCurrentUpload + 1 <= _filesToUpload.length && numPerc > 0 && numPerc < 100) ? numPerc + "% - " + strLabel : strLabel;
strLabel = (_numCurrentUpload + 1 == _filesToUpload.length && numPerc == 100) ? "Upload Complete - " + strLabel : strLabel;
strLabel = (_filesToUpload.length == 0) ? "" : strLabel;
Комментарии (5) RSS
Добавить комментарий