Scrolling help

Pfft, what a waste of a debut post. :sleep:

I’m a flash programmer and animator from Synj forums. I’m in charge of programming the AHP… and I need to get it too scroll like Alien Hominid.
Scrolling is new to me, so I basiclly had it:
onClipEvent(enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_root.bg._x-=10;
}
}
(I also had it scrolling left)
That worked fine, but then Gel told me to make it scrolling like AH - get to a certain area and scroll.
Since scrolling is new to me, I had no idea what to do, so I had this put in:
onClipEvent (enterFrame) {
if (end.hitTest(_root.player)) {
_root.gotoAndStop(3);
}
}
Frame three had the map at the point in the map where the player was… I mean, the point in which I wanted the map to start scrolling.

That worked but not as nice as I wanted it too. I was wondering if you guys could help me? I want it too scroll when the timer has gone past, say, 30 seconds, or so, and then start to scroll… play AH to see what I mean.
I’ve made some tries, and haven’t figured it out. Don’t worry, I’m not someone who’d just ask without working ofr it. :stuck_out_tongue:

So, if any of you can help, it’d be greatly apprecatied.
That works, but not as well