Flv player preview image

Hi folks

I made a flv plyer which loads its data from a external xml file everything works fine.
The only problem I have is that when the player is load the background is just black.
how can I display for example the fifth frame of the flv video as a preview?

Thanks in advance
Crasher