Ok, here's the situation. I'm currently building a site in flash/php3/MySQL... Data about "clients" is entered by administrators from a seperate html page with some php3 coding in it. The info is stored in a DB and accessed by MySQL through php3. Each "client" has an image file associated with it.
So what I'm trying to do is have the flash movie pull the image file from the db, or more specifically pull the name of the file from the db, this is done, and pull the file itself from the host server.
I'm wondering if it is possible to pull an image this way in flash?
If not is there any way to store the images directly in the flash movie... there could be as many as 600 of em, so loading time becomes an issue.
My advise: Use the sql-database to only store the filenames of the gifs/jpgs in the right position and then pull the info out of the database into a php3 - script that creates a swift-generator script file, changing the source of the "to-be-changed"!
That should do it -- quite inexpensively!
I'll hang on this one - let's keep posted!
greetings & happy flashing
Macromedia has sort of resolved the issue, since flash player 6 can load at least jpeg images - it even does if your main movie is done with flash 5.
So your movie would retrieve the image file name from the database and then do a
where container is just an empty clip ... place it where you want the upper left corner of the image
If you want to use other image formats, you probably should look for a server script that converts them after upload