Ok, one of the companies I work for wants me to start storing my images in the database rather than as files on the server. This is all fine but then I have to build a flash image gallery viewer. Doing the file storage the normal way, obviously this is no problem, but does anyone know how to send a variable from php into flash so that the image data from the database will display as an image.

I have no clue where to start on this one so if anyone has any help or links that can point me in the right direction, as an avid flashkit user, I would as always be most appreciative.

Thanks in advance