MisterQuestions Posted December 6, 2014 Share Posted December 6, 2014 Hey all! i want to change the default and ugly downloadbar i already maked the interface but now, how to get: -Total file size -Current downloaded -When download has finished And how to make when the download finish a exit animation...(i refer when the download finish, start exit anim) Link to comment
WASSIm. Posted December 6, 2014 Share Posted December 6, 2014 Total file size: you can check all client file on resources running to get total download on frist join on server Current downloaded: i don't understand this ! When download has finished: use event 'onClientResourceStart' its trigger when resource download finished and started on client Link to comment
Dealman Posted December 6, 2014 Share Posted December 6, 2014 onClientFileDownloadComplete Link to comment
WASSIm. Posted December 6, 2014 Share Posted December 6, 2014 onClientFileDownloadComplete read this: This event is triggered when a file has been downloaded after downloadFile has been successfully called. Link to comment
MisterQuestions Posted December 6, 2014 Author Share Posted December 6, 2014 Hmm when i said 'Current Downloaded' i refer percentaje of the file that has been downloaded, like 51 Kb./1 Mb. Link to comment
Et-win Posted December 6, 2014 Share Posted December 6, 2014 fileGetSize This atleast, currently downloaded is impossible on the moment if I remember that correctly. I don't know but maybe while downloading the file gets placed in the client's map and then you can check how big that file is and then use some math, but I doubt that. Link to comment
Feche1320 Posted December 7, 2014 Share Posted December 7, 2014 You will have to read files and use triggerClientLatentEvent, hard stuff for your knowledge. Link to comment
Saml1er Posted December 7, 2014 Share Posted December 7, 2014 If I'm not wrong then downloadFile is using triggerLatentClientEvent so you can check for progress using getLatentEventStatus Link to comment
MisterQuestions Posted December 26, 2014 Author Share Posted December 26, 2014 Finally understand it, buy..how to hide the default one? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now