Preload a picture

Hi there!
I got suck on my little project of a pictures… I am trying to preload a picture. Since they are quite big, i want the user to know that it is loading…
So far, no luck.
Does anyone have a nice simple code, example for me?
I am able to load a xml and calculate the totalbytes and bytesloaded, but cant with the JPG that i am trying to load.
Thanks again.
Cheers.
Leo.
:sen: