# \[FMX2004\] Scrolling background tweaks

**URL:** <https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702>\
**Category:** flash\
**Created:** [March 20, 2006, 9:18pm UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702 "2006-03-20T21:18:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emilycoyote](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@emilycoyote](https://forum.kirupa.com/u/emilycoyote)\
**Post date:** [March 20, 2006, 9:18pm UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702/1 "2006-03-20T21:18:29Z")

</div>

hi all,

I’m working on a website that is kind of set up a bit like a flash game. the background scrolls continuously with the movement of your mouse, and loops to make it appear seamless. my problem is with the quality… it seems to skip or jump a little when it moves, and I am trying to get it as smooth as possible.

the source file is here: [http://www.zaceman.com/scrollmenu1.fla](http://www.zaceman.com/scrollmenu1.fla)

you can just export it to see what I am talking about. what can I do to make it not so jumpy? are there settings I can adjust, or does anyone have any other code variations that would improve on mine?

I really appreciate any advice or help. thanks in advance!  
emily

---

<div class="post-metadata">

**Author:** ![goingNuts](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@goingNuts](https://forum.kirupa.com/u/goingNuts)\
**Post date:** [March 21, 2006, 1:23am UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702/2 "2006-03-21T01:23:54Z")

</div>

I had the same problem for awhile, but figured a cheesy, yet ultimately fine workaround.

In your layout program, take the width of your stage and duplicate the first part of the image. Place the duplicate on the opposite end and voila! Whenever the end of the original picture reaches the end of the stage, start it from \_x = 0 again.

How’s that for convoluted?

---

<div class="post-metadata">

**Author:** ![goingNuts](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@goingNuts](https://forum.kirupa.com/u/goingNuts)\
**Post date:** [March 21, 2006, 1:30am UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702/3 "2006-03-21T01:30:03Z")

</div>

> [@goingNuts](#):
>
> I had the same problem for awhile, but figured a cheesy, yet ultimately fine workaround.
> 
> In your layout program, take the width of your stage and duplicate the first part of the image. Place the duplicate on the opposite end and voila! Whenever the end of the original picture reaches the end of the stage, start it from \_x = 0 again.
> 
> How’s that for convoluted?

i can’t get the .fla to upload because it’s too big, but here’s the .swf

---

<div class="post-metadata">

**Author:** ![emilycoyote](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@emilycoyote](https://forum.kirupa.com/u/emilycoyote)\
**Post date:** [March 21, 2006, 5:41pm UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702/4 "2006-03-21T17:41:00Z")

</div>

thanks for the reply…

I’ll have to try your version, since it might simplify things and help it run quicker. but I’m noticing the same ‘problem’ on your swf, too… I just haven’t seen a scrolling background that looks really smooth. I’ve tried playing around with sizes, fps, everything, and nothing seems to help it. that’s why I was hoping to try a new code… but it seems that no matter which you use, it’s still going to be a little jumpy. 😕 frusterating.

---

<div class="post-metadata">

**Author:** ![gvozden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gvozden/32/1084_2.png) [@gvozden](https://forum.kirupa.com/u/gvozden)\
**Post date:** [March 21, 2006, 6:01pm UTC](https://forum.kirupa.com/t/fmx2004-scrolling-background-tweaks/182702/5 "2006-03-21T18:01:57Z")

</div>

it’s true  
and sometimes swf is working nice but in browser it always slows down

try with vector works maybe it will be normal
