but I don't understand what is the purpose of use mediatracked in the method of loadimage [ July 02, 2004: Message edited by: Jack Deng ]
Joined: Jan 14, 2004
getImage returns immediately, ie, it doesn't wait around for the image to fully load. MediaTracker blocks program execution until the image is fully loaded. This becomes more important when you are loading a large image, a series of images or loading over the internet.