screen goes black and freezes with libUrlDownloadToFile
Posted: Wed Jan 18, 2012 7:05 am
I've been trying to use:
to download a movie, which is working but the IOS screen is locked for the duration of the download (meaning I can't even update a progress bar). Is that normal or am I doing something wrong?
my progress bar update live here:
Which is firing, 'cause when I throw an Ask dialogue box in the that displays fine, but other than that my screen goes black until the download completes, at which point all is good again. Any thoughts?
Many thanks for any help
Dale
Code: Select all
libUrlDownloadToFile "http://website.com/movie1.mp4"
my progress bar update live here:
Code: Select all
on urlProgress pUrl, pMessage,pbytesR,pbytesT
if pMessage contains "loading" then
set the uValue of grp "Progress" to ((pbytesR/pbytesT)*100)
End if
end urlProgress
Many thanks for any help
Dale