开发者

Display overall progress for FileReference.load()

function files_select(e:E开发者_Go百科vent)
{
    for (var k = 0; k < file_ref_list.fileList.length; k++) {
        var currFile:FileReference = file_ref_list.fileList[k];
        currFile.load();
        currFile.addEventListener (Event.COMPLETE, onDataLoaded );
    }
}

Now, How can i display overall progress for FileReference.load() in percentage. can i use LoaderMAX ?? or any other alternative.

Please Help. Thanx.


assign a ProgressEvent to you FileReference object. the documentation contains sample code:

flash.net.FileReferenece - ProgressEvent

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜