Getting started

1. Having installed the slideMenuAS3 using the Adobe/Macromedia Extension Manager, open Flash, start a new ActionScript 3.0 file and save it.


2. Prepare the images or movie clips that you will be displaying in the slideMenuAS3. The slideMenuAS3 can be used to display external images or movie clips that reside in the library. We show both options below:

 

Option 1: Using external images

Prepare a set of the same size and save them in a folder in the same location as the .fla on which you are currently working.

 

Option 2: Using movie clips

a. Select "insert/new symbol" or press F8 to create a new movie clip. Give the movie clip a name and enter a class name. The class will be used in order to identify this movie cip in the slideMenuAS3.

 

 

Note: Upon pressing OK, you may receive the following message "A definition for this class could not be found in the classpath, so one will be automatically generated in the SWF file upon export". Press OK to accept this.

 

b. Draw the content of movie clip, ensuring that the content is placed at an X,Y of 0,0 inside the move clip.

c. Return to the main timeline and repeat from step a for additional movie clips.

 

3. Press Ctrl+F7 (Win) or Cmnd+F7 (Mac) to open the Component panel. Open the slideMenuAS3 folder and drag a copy of the slideMenuAS3 component onto the stage.

 

4. Select the slideMenuAS3 component that's on the stage and press Shift+F7 to open the Component Inspector.

 

5. Double cllick on the on the icon list parameter to open the values panel, where you can enter the details of the icons to load. Press the "+" button to add a new icon. Each icon item has the following parameters:

 

a. iconSource: The class name for movie clip icons (you gave each movie clip this name in step 2a). If you are displaying external images, you would enter the path to the image here. For example, images/icon1.jpg


b. action: The action to perform upon clicking the icon. The following actions are supported:

   getURL("http://flashloaded.com")
   navigateToURL("http://flashloaded.com")
   gotoAndPlay(FrameNumber)
   gotoAndStop(FrameNumber)
   loadMovie(movieUrl:String)


c. title: The title that you would like to appear under the icon

 


6. Press Ctrl+Enter (win) or Cmnd+Enter (mac) to test your movie. If the icons are cut off, you can use the transform tool in Flash to increase the size of the component that's on the stage to accommodate this.


Note: In order for the movement to be smooth, we recommend that you set your movie speed to 30fps.