Hey Guys,
I was wondering if display.save() is an asynchronous process while being called in a loop?
For example,
for a=1,3,1 do
display.save(Image[a])
end
Lets say if the Images were different sizes and quality and If I were to make a loop like that, would display.save() calls execute in parallel or 3 after 2 is done after 1 is done, in that order?
Also, is there a way to know when saving of the Images to the disk has been completed (something like an onComplete listener maybe) ? The reason I ask this question is because currently I am saving 9 display objects using display.save() and loading them back as display objects. It seems that it doesn’t take long to load the images but writing to disk takes some time. So I was wondering if I could show like a ‘waiting screen’ while the Images were being saved.
Thank you.