First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Spidy | Website: http://emptydoor.co
Alright, let's assue that you had your first frame, and it had a couple of buttons on it. let's say that we wanted to have it so that, each time one of those buttons was clicked, the first frame would fade into another frame, and a different frame for each button pressed. Now, to create this effect, first create a new flash file. Then, create your first frame, where you want the fade to begin, along with your buttons. Now, to create the first fade, copy and paste the first frame into an empty frame somewhere. Then, on the first frame's button's actionscript, have it go to that frame and play. From that frame on, have the fade in place. At the point where you feel the fade should stop, have a stop command in the actionscript for that frame. Do this for any or all of the buttons, if you would like all of them to fade differently. To have each thing fade back into frame 1, copy a keyframe of the finished fade into another empty space on your timeline, and then have another button, that goes to and plays from that frame. at that frame, the fade will begin again, fading back into the first frame. in that copy's actionscript however, put a piece of actionscript to have it go back to frame 1, so that whoever is clicking the buttons will still be able to click buttons again. If you do this, you can have multiple fades, all from the same page. This works very well if you have a room in a game, with multiple exits.
» Level Basic

Added: 2003-12-13
Rating: 3 Votes: 81
(10 being the highest)
» Author
Another one of those weird people, who find Flash and instantly become addicted to it.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.