Chapter 13
302
To insert a Flash button object:
1
While in the Design view of the Document window, select Insert Flash Button
from the Objects panel or choose Insert > Interactive Images > Flash Button.
You can also drag the Flash button icon over to the Document window.
The Insert Flash Button dialog box appears.
2
Select the button style you want from the Style list.
You’ll see an example of the button in the Sample field. You can click this
sample to see how it functions in the browser. However, the Sample field does
automatically update to show the changes to text or font that you might make.
These changes will appear in Design view.
3
In the Button Text field (optional), type the text you want to appear.
For example, type
Press me!
This field only accepts changes if the selected
button has a {Button Text} parameter defined. This is shown in the Sample
field. The text you type in replaces the {Button Text} when you preview the file.
4
In the Font field, specify a font size and select the font you want from the
pop-up menu.
You only need to make font and size selections if your button has text
parameters defined. If the default font for a button is not available on your
system, select another font from the pop-up menu. Keep in mind that you will
not see the font you selected in the Sample field, but you can click Apply to
insert the button in the page to see a what the text will look like.
5
In the Link field (optional), enter a document-relative or absolute link for
the button.
Site-relative links are not accepted because browsers don’t recognize them
within Flash movies. If you use a document-relative link, be sure to save the
SWF file to the same directory as the HTML file. (Browsers vary in their
interpretation of document-relative links and saving to the same directory
ensures that the links will work correctly.)
6
In the Target field (optional), specify a target frame or target window for the
Flash button’s link to go to.
7
In the Bg Color field (optional), set the background color for the Flash movie.
Use the color picker or type in a Web hexadecimal value (such as #FFFFFF).
8
In the Save As field, enter a file name to save the new SWF file.
You can use the default file name (for example, button1.swf ), or type in a
new name. If the file contains a document-relative link, you must save the
file to the same directory as the current HTML document to maintain
document-relative links.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...