First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: JLampitt | Website: http://www.geocities.com/jlampitt

Home Layer:

  1. Create a new layer below the previous and name it "Home".
  2. Place a Blank Keyframe (F7) in Frames 15 and 17.
  3. Select the Blank Keyframe in Frame 15 and place the Button symbol "Center" in that Keyframe. Center it by using the center point option in the Info panel.
  4. Open the Instance panel as before and ensure that the Behavior is set to "Button" and Options is set to "Track as Button". These should be the default settings for a Button symbol instance.
  5. Assign the following to the selected instance. Be sure the actions window is labeled "Object Actions" and not "Frame Actions". If it say's "Frame Actions" select the object on stage directly and not via the timeline.
    on (release) {

    playClip(_level0.navitation0); references the custom function we set up in frame one of the layer "Frame Actions & Labels". By placing the function in frame one we can access that function from anywhere in this timeline or by referencing this timeline from others within a project. The argument (stuff in parenthesis) tells Flash which timeline to play. In this case that timeline is "Navigation". Remember, we stopped playing this timeline at Frame 16 when the Stop action was issued from the "Frame Actions & Labels" layer.

    _level0.gotoAndPlay("Home"); tells the referenced timeline (in this case the top level timeline "_level0") to jump to a specified label. This one line replaces a somewhat cumbersome and wordy syntax from Flash 4 where you had to identify the timeline and then issue a command.

» Level Intermediate

Added: 2001-01-16
Rating: 8 Votes: 129
(10 being the highest)
» Author
Jason Lampitt is an Interactive Developer for a major media development firm in Englewood, Colorado. He has a background in fine art as well as graphic design and has been developing multimedia titles for the past 6 years. Jason has a passion for bringing design to life through multimedia and helping others to understand the sometimes complex and confusing world of interactive development. In his spare time Jason is an active outdoorsman, mountain biker and family man.
» 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.