PDA

View Full Version : Load external .jpg ?


Leon
05-20-2002, 01:29 PM
Hello,

With flash mx i am using :

loadMovie("images/my_image.jpg",1)

...but the image covers what is on the scene. Is there a way to change the z-index of images or is done in another way ?

Another question : Any idea how can make a preload for this mp3
player ( and the different tracks ) ?

http://www.macromedia.com/desdev/mx/flash/sample_files/html/load_sounds.html

Thank you for your help,

Leon

Jesse
05-20-2002, 01:37 PM
You're better off loading your jpeg into a movieclip. Create a blank MC and use:
loadMovie("images/my_image.jpg","mcInstanceName") ; // with the obvious substitutions
If you want to use levels your code sholdbe:
loadMovieNum("images/my_image.jpg",1);

farafiro
05-20-2002, 01:37 PM
for the first problem u can load it into a MC, see this
http://www.actionscript.org/forums/showthread.php3?s=&threadid=12051
and this
http://www.actionscript.org/forums/showthread.php3?s=&threadid=10139

for the sound problems

http://www.actionscript.org/forums/showthread.php3?s=&threadid=10063
http://www.actionscript.org/forums/showthread.php3?s=&threadid=10166


And here is a preloader for anything
http://www.actionscript.org/forums/showthread.php3?s=&threadid=12061

ALSO, remember to search b4 posting