Hi All,
I’m kind of stuck and was hoping that someone here could help me out. Heres the situation.
I’m making an image catalogue for a client, and for reasons unknown to me my client insisted that the images be stored as binary data in a database. ( i know, i know…but they wouldnt’ listen) Anywho, the format of these images is windows bitmap (.BMP). I’ve just found out that they want to be able to manipulate these images in flash. So i need to have actionscrip open these images.
Since the images are stored in the db they have to be accessed via a php file like this: get_image.php?id=imageid
This works fine for displaying the images in a browser as i just put the string inside an img tag so: <img src=“get_image.php?id=someid”/>
The thing is, I can’t seem to get flash 8 to load these images via loadmovie. I’ve been able to load jpeg and gif files no problem, but can’t seem to get these bmps to work. Adding to misery is that because there are going to be in the neighbourhood of 40,000 images, i dont’ want to actually have the images saved locally.
this is what i have, it works fine for jpegs and gifs:
this.createEmptyMovieClip(“pic”, 1);
pic.loadMovie(“image1.gif”);
Any help would be greatly appreciated
Thanks in advance,
Three7