hello,
i want to make a pictureshow. from one folder with my images i create movieclips and tween them form right side of the screen to the left side of the scree. but at the moment i can only create one movieclip at one time. how is it possible to make the follow each other long as the scree width is??? any ideas???
her is my code i used an tutorial from anywhere … :sen: i am a totally actionscript dummy
import mx.transitions.Tween;
import mx.transitions.Tween.easing;
pictures= 6;
pauseFor (100);
random_p = random (pictures);
this.createEmptyMovieClip ("slidebildcontainer_mc", 15);
slidebildcontainer_mc.loadMovie ("folder_img/pic_" + random_p + ".jpg");
this._y = 250;
this.onEnterFrame = function ()
{
var xPosT:Tween = new Tween (this, "_x", None.easeNone, 800, -1500, 10, true);
xPosT.onMotionFinished = function ()
{
this.continueTo(-1500, 10);
};
};