Forum Moderators: open

Message Too Old, No Replies

Changing external images

         

kraabus

4:16 pm on Jun 21, 2005 (gmt 0)



I'm quite new in flash. Can somebody say, is it possible to change external image without reloading page/flash?

I mean, can I change an (external loaded) image in flash file by clicking on links outside the flash (with javascript etc)?

Thanks

Richard_N

4:40 pm on Jun 21, 2005 (gmt 0)



Presuming all happens on frame one

create an empty movie clip and put an instance of it on the stage.

Give it an instance name of picholder_mc

on frame one create a layer and call it actions

type the following actionscript into it

picholder_mc.loadMovie("path to image/image.jpg");

This will load image.jpg into the empty movie clip just change the image to update the flash file

was this what you meant?

Richard_N

4:41 pm on Jun 21, 2005 (gmt 0)



or if you want to change an image from an external link read the thread on passing external variables... same principles apply