I'm so stupid. Please help. :)

I need to be able to create a flash movie that allows me to step through it with a button.

For instance, a little opening shows, then a button comes up and when you press that button, you go to the next frame, to press another button to take you to the next frame, and so on and so on…

I put the button(s) on their own layer, and I had it working, but the first two buttons you had to press twice to get to the next frame, after that it worked fine.

Can anyone either point me to an easy way to do the button actions I want to do or show me how to do it on here? I feel like such an idiot. :slight_smile:

Thanks in advance,
Jeff

Well what code are you currently using? To get to the next frame you could just do this…

First… add a stop action to every frame you want your button to stop at (so if you are stepping by 1 frame and have 5 different keyframes, add a stop() action to those frames).

Next… apply this code to your button…

on (release){
prevFrame();
}
on (release){
nextFrame();
}

I am pretty confident you can figure out which code is used for a back button and which code is used for a forward button.

Thank you!

For whatever reason I was getting messed up with instance names. I left it in expert mode and I think that’s why.

Thanks again.

I am I glad you got your problem solved :slight_smile: (If you did get it solved).