Copy link to clipboard
Copied
Copy link to clipboard
Copied
i didn't check any of your links but to scroll a movieclip smoothly, you would do better to control the movieclip's x (or y) property, and not its timeline.
Copy link to clipboard
Copied
You can use a ScrollPane component and customize its look and feel.
Why you are trying to re-invent the wheel?
Use ScrollPane component and just customize its look and feel.
What I would have done in this case is
1. Take a ScrollPane.
2. Set its horizontalScrollPolicy ="Off"; and verticalScrollPolicy ="Off".
3.Change the Look and feel for background.
4. Create buttons on stage and write the following code on click event of those buttons.
scrollLeft.addEventListener(MouseEvent.CLICK,moveight);
function moveRight(evnt:MouseEvent)
{
myScrollPane.horizontalScrollPosition = myScrollPane.horizontalScrollPosition + myScrollPane.width;
//You can use a Tween effect here for better User Experience.
}