Flash loadMovie question

Hi Guys:
I have a question regarding loadmovie(). i followed Kirupa’s tutorial on LoadmovieNum and it works. but I wanted to know why it doesn’t work when I create a movieclip called mov and then try to call the movie using mov.loadMovie(“something.swf”);

another question is can I open up images inside a movieclip? ie. loadMovieNum(pic1.png,level);

Thanks for your answers.

Kirupa is an awesome site!!. it is a permanent bookmark on my flash list. thanks.

Jay.

Make sure that your “somethig.swf” is in the same directory as ur main movie.

Hope it helps.

and… of course you can open up images inside a movieclip!

Originally posted by rvanet
Make sure that your “somethig.swf” is in the same directory as ur main movie.

the instance name of the MovieClip could be wrong too…

Originally posted by rvanet
and… of course you can open up images inside a movieclip!

you only can load non progressive .jpg’s dynamically.
therefore, pic1.png won’t be loaded into the MovieClip/level. :-\

and welcome to kirupa forum, jeyyu!! =)

Hi Guys:
Thanks for your help. I figured out why the mov.loadMovie wasn’t working. I was crating a moving clip with the name mov but i wasn’t giving the instance a name, so when i was trying to do mov.loadMovie( , ,), it wasn’t really referring to anything, when i gave the instance a name and use the instance.loadMovie, it worked fine

and thanks for the tip on the Jpg .

Jeyyu.

:stuck_out_tongue:

no problem, jeyyu. =)