# Different images tween

**URL:** <https://forum.kirupa.com/t/different-images-tween/264969>\
**Category:** flash\
**Created:** [July 2, 2008, 5:06pm UTC](https://forum.kirupa.com/t/different-images-tween/264969 "2008-07-02T17:06:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![birne](https://avatars.discourse-cdn.com/v4/letter/b/4491bb/32.png) [@birne](https://forum.kirupa.com/u/birne)\
**Post date:** [July 2, 2008, 5:06pm UTC](https://forum.kirupa.com/t/different-images-tween/264969/1 "2008-07-02T17:06:44Z")

</div>

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

```auto
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);
 };
};

```
