Mark Swindell wrote:
I'm working on a simple game of concentration for the kids I teach.


I have 24 small image rectangles grouped on a card that are populated
in a repeat loop which sets their fileNames to line x of a list of
filenames held in a variable.  These files can be large images.

lock screen
put the seconds into vSecs
repeat with x = 1 to 24
    set the filename of image x of group "imageGroup" to line x of vPopulate
end repeat
unlock screen
put (the seconds - vSecs)

The above takes 5 seconds (which is close to an eternity...)

Is there a faster way to make this happen, or should I simply make a
progress bar and not worry about it?

Just off the top of my head, try locking messages too. Or hide the images, set the filenames, and reshow them. Haven't actually tested any of that though. Even better would be to store smaller images if you can.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to