PDA

View Full Version : can Flash load images ?


ahmdsaad
04-16-2002, 03:06 PM
please i have a question.
if i want flash movie to load an image from external place. so if i replace the image with another one with the same name, and when i run the flash movie, it will update the image. i mean that it will show the new image.


i know that Flash can load a movie BUT i don't know if it can load a pic or not?????????/\



thank you

farafiro
04-16-2002, 04:09 PM
flash can open the image if any photo pro are installed and can execute its format
but on its own i donno (that's for flash 5 ...... no way)

Rasta Gonzales
04-18-2002, 03:15 PM
Hi there,

Flash 6 can load bitmaps directly, using...

loadMovie("bitmapname", target);

...
bitmapname can be "test.jpg" and the target can be "_root" for example...

See my .zip for an easy example...

apprentice
04-26-2002, 12:55 AM
Have you tried using the Generator Object for Inserting BMP/JPG/PNG file? This seems to work with Flash 5. The object looks like an image placemarker. When you double-click on it, the Generator Panel will popup. You can then specify the settings. I was so stoked the first time I discovered this.

In order for it to work, you'll have to upload the .SWT file into the same directory as the .SWF file. The file can be somewhat large (maybe 700K), but worth it.