I followed the shootorial as closely as I could with one exception: I used my own background with the same dimensions. My background scrolls but doesn’t loop here is the code for the class “Background”:
class Background extends MovieClip
{
function onEnterFrame()
{
x = _x – 2;
if(x < -2110)
{
_x = 0;
}
}
}
Cheers~Willomo
|
||||||||||||||||||||||||||||||||