Importing Images On-the-Fly
I've got a flash movie and need to display an image within it. This photograph should be a JPEG that is retrieved dynamically (at play time) from a specific URL. So I was thinking I could do something as such...
Within the HTML object/embed call, place something like...
<param name="photo" value="http://www.abcdef.com/logo.jpg">
And then have the flash animation read this parameter, retrieve the image from that URL and display it.
Can this be done? And if so, how would this be?
Before Flash MX you couldn't do it (AFAIK). With Flash MX you would use:
It can be in the main timeline or a clip. Your target is either a _level or a target movie clip.
Hope this helps,
in Flash 5 you could have your server side convert the jpg to a swf file in which case it could be imported dynamically.