making a Movie Clip crawl back and forth?
I am trying to get a Movie Clip to crawl back and forth, stopping at 12 specific points controlled by 12 separate buttons.
In other words when you click on button 3 the Movie Clip slides to position 3 (X position or frame number), then click button 9 it slides to position 9, click on button 1 it slides back to position 1 etc.
I can make jump to the positions and stop but I can’t make it crawl (slide) to the next x position or to go back to a previous x position.
I am very new to flash and I thank you for any help.
Found this in a tutorial but I don’t know how to modify it to do what I want.
stop();
button1_btn.addEventListener(MouseEvent.CLICK, Shoot_1)
function Shoot_1(event:MouseEvent):void
{
gotoAndPlay(1)
}
Using flash cs5, ActionScript 3 on a PC. This is for a presentation shown in a conference room.
Thanks again,
Pablo