Using Flash technology, you can make your site prettier, more original and faster than all other sites. Flash opens up wide prospects for the webmaster - you can come up with the most unusual design, unusual page structure, and saturate the site with attractive visual effects. Creating a website on flash is not particularly difficult - for this you need to install the Adobe Flash CS4 program.
Instructions
Step 1
Open the program and click on the Create New menu to create a Flash File (Actionscript 3.0). After that, in the upper right corner, find the Essentials button and click on it, and then select the Designer interface. Open the properties section of the created file and set its desired size and background fill color.
Step 2
In the layers panel, create four layers, one of which will contain the scripts, the other will contain the site pages, the third will contain the menu section, and the fourth will contain the background.
Step 3
After the layers are created and you name them, click the File menu and choose Import to Stage. In the explorer that opens, specify the image that should become the background, and load it into the layer for the background image.
Step 4
Lock all layers, except for the layer for the menu block, to prevent accidental changes. In the menu layer, click on the Windows section in the top bar and select Components. Click on the User Interface subsection and click on the Button tab twice to make the button appear on your menu.
Step 5
Place the button manually in the desired position on the page and repeat the creation of the buttons as many times as necessary, depending on the number of menu items. After creating the buttons, go ahead and customize them. Go to the properties panel and change the Instance name parameter to button1.
Step 6
Then open the Window menu and select the Component inspector subsection. Enter new text for your button and its name. Do the same with the rest of the buttons.
Step 7
In the toolbar, select the text tool and in the settings specify the type, color and size of the font. Write your desired title for your site.
Step 8
After that, go to the layer for the site pages and use the Rectangle tool to draw a rectangle with the desired color with adjusted transparency, which will become a text block. Then select all layers, hold down the Shift key without touching the layer for scripts, and right-click on them.
Step 9
Click on the Copy Frames submenu and select the frames on three layers. After that, right-click on them again and click Paste Frames. Repeat the action until the number of pages reaches the desired one.
Step 10
Click on the first frame in the pages layer and in the settings go to the Label tab. In the Name line, enter page1. Using the text tool, enter the desired text of the page, placing it on the rectangle prepared in the previous steps - a text block. Do the same with the rest of the pages.
Step 11
After that go to the scripts layer and press F9 on the first frame. The script editor will open, in which you need to write stop (); and press the spacebar, and then on a new line enter the function that opens this or that page, depending on the pressing of one or another button.
Step 12
For the first button and first page, write the following function: function button1_clicked (e: MouseEvent): void {gotoAndStop ("page1"); }, and for the second - function button2_clicked (e: MouseEvent): void {gotoAndStop ("page2"); }. Also add codes to buttons. The first button corresponds to the code button1.addEventListener (MouseEvent. CLICK, button_clicked1); - changing the numbers, enter the codes for all buttons. Your site is ready - all that remains is to publish it by clicking the Publish settings item in File and publishing the site in swf and html.