# BG scrolling help

**URL:** <https://forum.kirupa.com/t/bg-scrolling-help/215938>\
**Category:** flash\
**Created:** [February 12, 2007, 11:11am UTC](https://forum.kirupa.com/t/bg-scrolling-help/215938 "2007-02-12T11:11:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudia19](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@claudia19](https://forum.kirupa.com/u/claudia19)\
**Post date:** [February 12, 2007, 11:11am UTC](https://forum.kirupa.com/t/bg-scrolling-help/215938/1 "2007-02-12T11:11:23Z")

</div>

Hi cool Flashers!

Im using this code to make cool panoramas for my photos:

pic\_mc.onEnterFrame = function (){  
picx = pic\_mc.\_x;  
pic\_mc.\_x -= 1;  
}

It works great and is better than any tweened movieclip(!)

The stage is 800x600 pix. and the artwork 1600x600 (twice as wide).  
The artwork is a simbol, registered on top/left and positioned on stage also top/left.  
I put the code on the seccond top layer - Im using only 1 frame.

Because x -=1, the artwork moves smoothly from right to left only 1 pix. It looks great, try it out yourself.

What Im trying to do further, is to loop the simbol containing the artwork continuously.  
If I paste the symbol on stage, to mach the end of the first one, the whole thing moves very nicely - since the artwork I created matches at the ends.

I would like though to use only one symbol on stage and to script something like duplicate, or move back and scroll again - or something like that.

Is it possible to get your cool suggestions?

Thanks and have a nice day,  
Claudia  
(Also girls are Flashers - sometimes…)😉
