# Left/right scrolling movie clip

**URL:** <https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377>\
**Category:** Uncategorized\
**Created:** [March 24, 2003, 10:50am UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377 "2003-03-24T10:50:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![olvado](https://avatars.discourse-cdn.com/v4/letter/o/eb8c5e/32.png) [@olvado](https://forum.kirupa.com/u/olvado)\
**Post date:** [March 24, 2003, 10:50am UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/1 "2003-03-24T10:50:03Z")

</div>

I’m pretty new to actionscript (though I’ve been using Flash since it was called Future Splash!) and would appreciate help in how scroll a movie clip across the stage with actionscript rather than tweening.

Basically I have a simple movie clip that consists of around 12, text only, buttons and I want mutiple instances of the movie clip to scroll left-\>right across the screen, repeating itself seamlessly. At the moment I am tweening it but the file size has become unmanageable.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2003, 10:53am UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/2 "2003-03-24T10:53:11Z")

</div>

Oh, I meant to say that I’m using Flash5

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2003, 12:00pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/3 "2003-03-24T12:00:54Z")

</div>

Howdy and Welcome… 😉

Future Splash, eh??? Familiar name it is…

I can’t really say anything without seeing what you have there… But basically what you need is to change the \_x property of the movieclip when the button is pressed… Maybe putting all of your multiple movieclip instances into the big one movieclip and changing the \_x property of it would be how you’d go about that…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2003, 2:36pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/4 "2003-03-24T14:36:56Z")

</div>

cheers for the advice, what I’m actually after is different speeds for each movie instance - here’s what I’ve done by tweening [http://www.iris-spectacles.co.uk/index.cfm?do=catalogue](http://www.iris-spectacles.co.uk/index.cfm?do=catalogue) q the problem is that the tween has produced a large file so I’ve had to speed it up.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2003, 5:48pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/5 "2003-03-24T17:48:03Z")

</div>

Aha, cracked it thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 25, 2003, 9:59am UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/6 "2003-03-25T09:59:52Z")

</div>

I haven’t done much… You did all the job… 😉

I have noticed that the preloader keep loads the file from the beginnin again and again when I refresh the browser… and it was taking some time for 56k to download… ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 26, 2003, 1:02pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/7 "2003-03-26T13:02:11Z")

</div>

The size of the file was the problem, at 350k taking 56k modems an age to download, I’ve sorted the problem now reducing the file down to 8k! Doesn’t even need a preloader anymore. have a look at: [http://www.iris-spectacles.co.uk/newbrands.htm](http://www.iris-spectacles.co.uk/newbrands.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 26, 2003, 1:30pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/8 "2003-03-26T13:30:11Z")

</div>

WoW… 350k to 8k??? Yup… I DO see the difference… 😉

How did you do all that??? All the tweens to the ActionScript???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 26, 2003, 3:18pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/9 "2003-03-26T15:18:36Z")

</div>

All actionscript instead of traditional tweens, so the only real effect on size now is the text which is only 8k. Before it was the length of the tween that was bloating the file. To be honest this was my first foray into writing ActionScript from sratch, I’d always tweaked other peoples files to suit me.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 26, 2003, 3:35pm UTC](https://forum.kirupa.com/t/left-right-scrolling-movie-clip/16377/10 "2003-03-26T15:35:41Z")

</div>

Great job you have done, olvado… 😉
