Sunday, December 28, 2014

How to Insert a flash button object in Dreamweaver?


           The flash button object is an updateable button that is based on a Flash template. You can customize a Flash button object, adding text, background color, and links to other files.
Note: You must save your document before inserting a Flash button or text object.
            You use the Insert Flash button dialog box to select from a set of designed Flash buttons. You can view an example of the button in the Sample field. Click the sample to see how it functions in the browser. While you are defining the Flash button (for example, changing text or font choices), the sample fields does not automatically update to reflect the changes. These changes will appear when you close the dialog box and view the button in Design view.
1.                  In the Document window, place the insertion point where you want to insert the Flash button.
2.                  To open the Insert Flash Object dialog box, do one of the following:
·        In the Insert bar, select Media and then click the Flash Button icon.
·        In the Insert bar, select Media and then drag the Flash Button icon to the Document window , or to the code view window if you are working in the code.
The Insert Flash Button dialog box appears.

inserting flash button object


    
3.                  Select the button style you want from the style list.
4.                  In the Button Text field (optional), type the text you want to appear.
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.
5.                  In the Font pop-up menu, select the font you want to use.
If the default font for a button is not available on your system, select another font from the pop-up menu. You will not see the font you selected in the Sample field, but you can click Apply to inset the button in the page to see what the text will look like.
6.                  In the Size Field, enter a numeric value for the font size.
7.                  In the Link field (optional), enter a document-relative or absolute link for the button.
8.                  In the Target field (optional), specify the location in which the linked document will open.
You can select a frame or window option in the pop-up menu. Frame names are listed only if the Flash object is being edited while in a frameset.
9.                  In the bg color field (optional), set the background color for the Flash movie. Use the color picker or type in web hexadecimal value (such as #ffffff)
10.              In the Save as field, enter a filename to save the new SWF file.
You can use the default filename (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.
11.              Click Get More Style to go the Macromedia Exchange site and download more button styles
12.              Click Apply or OK to insert the Flash button in the Document window.

Modifying a Flash button object

You can modify the properties and content of a Flash object.
1.                    In the document window, click the Flash button object to select it.
2.                    Open the Property inspector, if it is not already open.
The Property inspector displays the Flash button properties. You can use the Property inspector to modify the button’s HTML attributes, such as width, height, and Bg color.
3.                    To make changes to content, display the Insert Flash Button dialog box using one of the following method:
Double-click the Flash button object.
Click Edit in the Property inspector.
Right-click and choose Edit from the context menu.
4.                    In the Insert Flash Button dialog box, make your edits in the fields

Playing a Flash button object in the document
            You can preview a Flash button in the Dreamweaver Document window.
1.                  While in Design view, in the document, select the Flash button object.
2.                  In the Property inspector, click Play.
3.                  Click Stop to end the preview.
Note: You can’t edit the Flash button object while it is playing.
It’s also a good idea to preview your document in the browser to see exactly how the Flash button lo