First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
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!

Comments

  • 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: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
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: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.