PDA

View Full Version : help.....



donnyprayogo
January 29th, 2003, 10:33 AM
hi, some body help me please........

i have some images file in a directory (gif), can i load my picture in flash movie? how?

i need this can by dynamis like load text with php (not using inport file in flash)

thak you

Guig0
January 29th, 2003, 11:08 AM
you can load images with this script:

load in to levels (this case level 1):


loadMovieNum("image.jpg", 1);

load in to a movieclip:


loadMovie("image.jpg", "target");


but i think it only works with JPGs... not sure tho :-\

donnyprayogo
January 29th, 2003, 09:32 PM
ok thank you for your help Guig0

i forget if i using flash 5

i will try your idea

donnyprayogo
January 30th, 2003, 12:26 AM
hi Guig0

i have try, but it does not work in flash 5

are you have any idea please....

lostinbeta
January 30th, 2003, 12:41 AM
You can't dynamically load images in Flash 5.


And only .jpg that ARE NOT saved in progressive format can be loaded in with Flash MX.



You can put your image in its own .swf file and use loadMovie() to load in the .swf file for Flash 5 though.

Guig0
January 30th, 2003, 06:51 AM
if you have said that you´re using F5, i would have spared you all that trouble...


but that´s ok. Follow the instructions from lostinbeta, he knows his stuff. :)


Cheers :geek:

donnyprayogo
February 4th, 2003, 03:33 AM
ok

i have successed for load images in to swf with flash 5.

thank you all