First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Matt Byrnes | Website: http://www.inflash.com

The Flash Tour

Alright, onto assembling the flash tour.

  1. Break up the panoramic picture into roughly 3 equal parts. You could do this with 2 pictures that are wide enough each to cover the stage, however, Flash gets funky when the images get too far off the stage. So 3 smaller pictures is a safer bet, and that's what I've coded for.
  2. Place them in the appropriate movie clips: left, center and right. Line them yp in perfect, seamless, alignment. If they're out of aligment to begin with, they'll be perfectly out of alignment throughout.
  3. Keep all the movie clip's widths free of decimal points other than 0. (No '900.7' type widths). Otherwise, you'll get small gaps between your pictures. Remember, the movie clips determine the width of the picture they contain, not the other way around. You could have a picture 1000 pixels wide, but it will get stretched to 1015.5 pixels wide if that's how wide your movie clip is set to.
  4. If you change the stage's width, be sure to make the variable in the Action Script in Frame 1 reflect that.

Alright, for you "just gimme the .fla" types, you're all set. For a walk through of the code, see below.

For reference, a snapshot of the timeline:

In the above code, there's no "playing," in the usual sense. The play head gets sent via "Goto" to different frames only for time delay purposes, and the pictures are repositioned by Action Script's Set Property X Position, etc., creating the effect of motion.

First, I'll introduce the section of script to discuss, then I'll discuss it.

» Level Advanced

Added: 2001-05-31
Rating: 7.76 Votes: 95
(10 being the highest)
» Author
No details available.
» 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.