home HOME

Flash Tutorial
Flash HOME
Flash Introduction
Flash How To
Flash in HTML
Flash Tweening
Flash GuideTween
Flash TintTween
Flash ShapeTween
Flash Button 1
Flash Button 2
Flash Animation
Flash Sound

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

pixels

Flash Button 1

home next

Example

In this example you will learn how to insert an image, convert it to a button, and add a URL to it so it becomes a link.

Example

Step 1
Choose File > Import to import an image that will become a button. Locate the image and click Open. The image will be saved in the Library.

Step 2
Select the image with the Arrow tool.

Step 3
Convert the image to a symbol. Choose Insert > Convert to Symbol from the top menu. Name the symbol "button", choose Button from the Behavior list and click OK.

Step 4
Right click on the image. Choose Actions from the pop-up menu.

Step 5
In the Object Actions box click on the + sign. Choose Basic Actions > Get URL.

Step 6
Enter a full URL in the URL field (like http://www.w3schools.com).

Step 7
Choose target in the Window field. Close the Object Actions box.

Step 8
Choose Control > Test Movie from the top menu to test your Flash movie.


home next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2007 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999