How to load image through a thread

It takes a lot of time when switching from a display group. The app gets unresponsive so I want to use threading to load all the sprite images that I got. I was wondering how to do this? [import]uid: 26542 topic_id: 5759 reply_id: 305759[/import]