hi all ya,
I am working on a project where I dynamically load a jpg into a movieClip and then motion tween it. Then I want to use the same tween, to load another jpg, so that it slides in front of the first and so on. My problem is that I can't load another jpg unless I have at least one keyframe at the end that does not contain the movieClip with the jpg. Is there a way to swap depths or levels of the first one, then copy it to another clip (without the picture flashing or having to reload) so that I can use the same tween for multiple jpgs??
I hope this doesn't sound to complicated. I messed around with
ActionScript Code:
MovieClip.duplicateMovieClip()
and
but I couldn't get any good results. Maybe this combination of tweening and scripting isn't such a good idea but I think it should work somehow...
Can anyone help? Thanx. S.
P.S.: the code I use to load the jpgs is generally something like this..:
ActionScript Code:
this.createEmptyMovieClip("myImage", myDepth);
this.myImage.loadMovie("PictureName"+myCounter+".jpg");