Flash Menus

Home • Members Tutorials Forum iSnapChat Contact Us 

 


Flash Tutorials

   

Flash - Sliding Menus
Moving an Object on Roll Over using ActionScript

Flash MX Flash 8 Flash CS3 Flash 5

 

Free Flash Tutorial

 

 

Intro   <<      Intro   1   2   3   4   5   6   7       Next   >>      

 

This is the technique used to roll my menus on and off stage on the webwasp home page!

 

The aim of the tutorial is to learn how to create a menu or other object that slides on and off stage.

 

There a two reasons why you would use ActionScript to move an object. The first is that ActionScript is smaller than animation and the second is that you can move the object from any place to any other place irrespective of it's starting position. This makes the movement more versatile.  In an animation movement must be linear, that is it must follow a pre-defined path. It will go from A to B to C.  With ActionScript the object will go any order: A to B or A to C.  You may have as many stop position as you want and the flash movie will not get any bigger as it is only a few lines of script.



My Example: Download the Flash file  Int 101a



In this example I have used four positions for the movie clip:

  1. The start position: This is off stage to the bottom.

  2. The position the movie clip moves to when the movie first starts (click refresh to see this).

  3. The position for button one: Scroll up.

  4. The position for button two: Scroll down.

You could have as many objects sliding in and out as you wish.  These sliding objects may contain any flash object such as a graphic, a button, an input text frame, an animation or anything else.  The only condition is that the object must be embedded in a movie clip symbol.  So if you make a button, that button must be placed inside a movie clip then placed on the stage.

         

Intro   <<      Intro   1   2   3   4   5   6   7       Next   >>      


141529 visitors to this page since Jan 04

Phil Schulz's Facebook Profile
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here

 Top of Page HomeMembers Tutorials Forum iSnapChat Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.