Be a Supporter!

Credits & Info

Uploaded
Jan 1, 2009 | 10:31 PM EST

If you liked this, check these out!


Author Comments

It took me a really long time to figure out how to make "next frame" and "previous frame" buttons, and I only got it by piecing together random bits and pieces of information from around the web. There really didn't seem to be a simple, all in one guide to doing this, so I figured I'd make one. I learned a lot about Actionscript while making this, and I had a lot of fun with it as well. Please recommend this for the Tutorial Collection

Even though there is Actionscript text you can copy and paste, I recommend you try typing it out yourself at least once so that it sticks.

This tutorial assumes you have basic flash skills, such as creating symbols or making multiple frames.

If anything seems unclear or strange, tell me in a review and I'll do my best to clarify in a response or by editing the tutorial.

Reviews


KyjastKyjast

Rated 3.5 / 5 stars

Decent.

But I have to say, the music you chose has been way overused. As of now, it's in 172 entries, including this one. I'd like to hear some variety at Newgrounds. The tutorial is very well made, perfect for beginners, so good job on that. The music is much to be desired though.


Elroy responds:

I know, I was actually hesitant to use it, but there wasn't a lot of other free "elevator-ish" music out there on the web. I actually tried to make a mute button, but couldn't figure out how :P


lesherlesher

Rated 4 / 5 stars

Just... Button?

But it's still okay nonetheless.

Is that Flash CS3 or CS4?


Elroy responds:

I use CS3, but I'm fairly certain CS4 is AS2 compatible.


ChazChaz

Rated 4 / 5 stars

Basic but OK

It's overdone. All you have to do is one your next button

on(release){
nextFrame();
}

and on your back button

on(release){
nextFrame();
}

That's pretty much your whole tutorial in one. Although it is v.good for beginners and currentframe is extremely useful for game coding.

~C


Elroy responds:

Thats true, you could use that code. I wrote the tutorial to help people who may not have a lot of experience with actionscript.

I chose to use the code I did, because if you apply common sense to it, you can use that code for a ton of different things, sort of like a little intro to actionscript.

Also, how will the same code do two different things?


ArchawnArchawn

Rated 3 / 5 stars

It looks nice, but it's not efficient.

Your way is way too complicated (relatively, of course). There are much better ways to perform the same task. Anyway, it looked a lot nicer than some of the other tutorials I've seen.

And by the way, next time you make a tutorial, make it something new. Do you know how many button tutorials there are out there? Don't make stuff just to have another submission and good score. Make stuff to share your knowledge with other people. Make stuff for fun, not scores.


Elroy responds:

I had a lot of fun making this. The nice score is just a bonus in my view. I expected to get like, a much lower score.


Hate-or-HateHate-or-Hate

Rated 2.5 / 5 stars

-_-"

that's very stupid.
well, you can just do:

_root.nextFrame();

or:

_root.prevFrame();

so your way is stupid to do.
anyway, i think you did this tut. in about 5 minutes.
look , it's nice but i don't think i deserves a better grade.
but still it's nice (i have no idea how to do the textbox that you can copy for eg.)