How To Write A Flash Website

Table of contents:

How To Write A Flash Website
How To Write A Flash Website

Video: How To Write A Flash Website

Video: How To Write A Flash Website
Video: How to Create an Adobe Flash Web Site 2024, May
Anonim

Using Flash technology, you can make a beautiful and original site with interesting visual effects. Adobe Flash CS4 is best suited to create it.

How to write a flash website
How to write a flash website

Instructions

Step 1

Download and install Adobe Flash CS4. Open it and select "New" from the "Create" menu, where check "Flash File" (Actionscript 3.0). Find the "Essentials" button in the upper right corner. Click on it and select the Designer interface. Go to the file properties section and specify the size and fill color of the background.

Step 2

Go to the layers panel. Create four layers: - for scripts; - for site pages; - for the menu section; - for the background.

Step 3

Give a name to each of the four layers. Go to the File menu and select the Import to Stage tab. Specify an image for the background in the window that opens. Load it into the appropriate layer. Lock for a while all the others (except for the one that was created for the menu block) in order not to accidentally change them. In the menu layer, select the "Window" section in the top panel, and then - "Components". Go to the "User Interface" tab and double click on the "Button".

Step 4

Place the button that appears on the selected area of the page. You will need as many buttons as there are items you are going to create in the menu of your site. Customize them by going to the "Window" section and changing their name (for example, "Button1" to "Home").

Step 5

Select text settings from the toolbar and specify the size, type, and color of the font. Create a header for your site. Go to the layer for pages. Draw with the Rectangle tool a rectangle of the desired color and opacity. It will become a text box.

Step 6

Select all three processed layers (except for the scripts layer). Click on them with the right mouse button. Select the "Copy Frames" submenu and designate the frames on three layers. Right click on them again. Select and click "Paste Frames" several times, according to the number of pages you want.

Step 7

Select the first frame in the layer and click on it. Go to the "Label" tab in the settings. Enter the value “page1” in the “Name” line. Place the desired content with the text tool on the prepared rectangle. Fill in the text in the same way on the rest of the pages.

Step 8

Refer to the scripting layer. Press F9 on the first frame. Enter the script editor and enter the value: stop (); and after that press the space bar. On a new line, enter the function with which this or that page will open, depending on which button in the menu will be selected. So, the first button will correspond to the function: function button1_clicked (e: MouseEvent): void {gotoAndStop ("page1"); }

Step 9

Specify the code as well: button1.addEventListener (MouseEvent. CLICK, button_clicked1); …

Recommended: