1 person found this helpful
If you need to work with depths, you can use the createEmptyMovieClip(instance, depth) method to create a holder to load the image into.
Ned> thanks for the response. So are you saying that first I create the loadmovie which pulls in the jpeg from outside and then add a createEmptyMovieClip and where whatever I called the loadmovie goes where you specified the instance? -dr
First you create the empty movieclip, putting it at whatever depth you require, then load your image into that movieclip...
Ned, that helped a lot. Was finally able to load external files. But curiously I have lost the ability to keep my older placed movieclips.
For example earlier every time I placed a new movieclip on the stage the old one in another location was still there. Now when I use loadMovie it seems to replace the old movieclip. Is there a way to use this and always create a new movieclip? Thanks. -Derryl
So if I use this which pulls from the library to the movieclip, the movie clip is truly duplicated:
var newFlyer = this.attachMovie(my_clips [random (5)],"flyer1",this.getNextHighestDepth());
but if I use this, the graphic is loaded externally but the old movieclip disappears (or moves to a new place).
loadMovie("images/" + r + ".jpg", flyer1);
How do people use the loadMovie function and keep the already created movieclips instead of reusing them? Thanks. -dr