How to Make a Home Button in Flash 8

How to Make a Home Button in Flash 8 thumbnail
Make a home button in Flash.

If you're creating a Flash banner, you can add navigational buttons to it in Flash 8. You can link the button to the homepage on your website. By creating a button, you can change the image or text when someone rolls over or off the button. Once your button is complete, you can add an instance (copy) of it to the Stage (the Flash workspace), and then add actions to it. You must select the button on the Stage for the link to your homepage to work.

Instructions

    • 1

      Create a button for your homepage in Flash 8 by selecting "Insert" and "New Button" from the toolbar. Type in a symbol name, pick "Button" for the behavior and click "OK." Flash will take you to the symbol-editing area.

    • 2

      Select the "Text Tool" from the Toolbox and type "Home" on the page. A keyframe will be automatically added to the "Up" frame in the Timeline.

    • 3

      Go to the "Over" frame and add a keyframe by selecting "Insert," "Timeline" and "Keyframe" from the toolbar or pressing "F6" on your keyboard. Change the color of your text in the "Over" state by selecting it and picking a fill color from the Toolbox.

    • 4

      Return to the main Stage by clicking on "Scene 1" in the Timeline. The Library should be visible. Select "Window" and "Library" to open it if it's not. Drag the newly created "Home" button from the Library onto the Stage.

    • 5

      Right-click on the "Home" button on the Stage and select "Actions." The Actions panel will open in the bottom pane.

    • 6

      Make sure the button is still selected on the Stage, then add the following code into the code area in the Actions panel:

      on (release) {
      getURL("http://www.your-website-domain-com/index.html","_self","GET");
      }

    • 7

      Replace "your-website-domain-com/index.html" with the actual location of your homepage.

    • 8

      Test the home button to make sure everything is working properly by clicking on "Control" and "Test Movie" in the toolbar.

Related Searches:

References

  • Photo Credit the button home blue icon image by Andrey Zyk from Fotolia.com

Comments

You May Also Like

Related Ads

Featured