Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-27-2004, 06:37 AM   #1
Spin Doctor
sebus's Avatar
Join Date: Aug 2004
Location: california / germany
Posts: 11
Smile loading multiple pics for use in same tween

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:
ActionScript Code:
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");

Last edited by sebus; 08-30-2004 at 09:45 AM. Reason: adding tags
sebus is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:25 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.