I am trying to get flash8 to import an image into a movie clip through the
FlashVars system.
I can get text from the database to display using Var with a php request...
however what I would like to do is to use the database name of an image within
loadMovie to display the chosen image.
The idea is that a user will input their choice of image and add their text to
a database and using a unique ID all the Vars from that ID... loading the
correct info through variables.
If I explained this badly, please let me know and I will review it... I know
what I'm doing, just don't know how to.
Thanks In Advance
Catflea - 30 Jun 2008 21:40 GMT
Sorry folks... just needed to bump this question back to the top... it was getting lost.
sb98052 - 30 Jun 2008 22:28 GMT
HI Catflea,
So if I understand right you'd like to set the FlashVars for your Flash movie
dynamically? Is there a problem in generating the HTML page hosting that movie
and encoding the FlashVars in their usual param=value representation
dynamically?
s
Catflea - 30 Jun 2008 23:14 GMT
I have no problem importing text into the .swf through FlashVars and Param
Value. This I can pull out of mySQL using PHP... however the problem I am
having is to pull an image name from the database and have this image load
dynamically into the .swf so that I can call it for use on the timeline.