PDA

View Full Version : Importing an image into flash


V0oD0o
05-03-2002, 12:17 PM
Hi there,

Just a quickie.

Can you import an image into flash that is external to the movie.

So, for example you have:

/image1.jpg
/displaymovie.swf

Can you get the SWF to import the jpeg to display it?

Thanks in advance,

V0o

Billy T
05-03-2002, 02:37 PM
you can in MX with loadMovie

remember to search for your answer first...

Fade
05-03-2002, 03:45 PM
Voodoo,

See the sample movie at: [install dir]\samples\fla\load_images.fla

The code should look something like this:


loadMovie("image1.jpg", "yourMC");

// yourMC being the name of the movie clip
// where you wish to put the image.


And, as Billy T mentioned, this is only available for MX... :(

Thanks,
--FADE

V0oD0o
05-03-2002, 03:54 PM
Many thanks guys, MX here we come!

Billy T
05-04-2002, 01:09 AM
in another recent thread, someone was saying that you could do it with certain jpgs in version 5 but I couldnt get it to work...

cheers