00:00
00:00
View Profile 1Kingfire1

Male

Joined on 12/16/07

Level:
7
Exp Points:
410 / 550
Exp Rank:
> 100,000
Vote Power:
4.84 votes
Rank:
Town Watch
Global Rank:
63,018
Blams:
37
Saves:
82
B/P Bonus:
2%
Whistle:
Normal
Medals:
19

Comments

Store the background's x position on _root.
So,
<code>
if(Key.isKeyDown(RIGHT))
{
_root.bg._x -= this.speed;
_root.worldx = _root.bg._x;
}</code>

When you come outside...
<code>_root.bg._x = _root.worldx;</code>

It's pseudo, take it with a grain of salt.