How to create the website on flash

How to create the website on flash

Digital Hits: 87

Using Flash technology, it is possible to make the website more beautiful, more originally and most quicker than the other websites. Flash offers broad prospects the webmaster – you can think out the most unusual design, unusual structure of pages and sate the website with attractive visual effects. Creation of the website on a flash does not represent special complexity – for this purpose you will need to install the Adobe Flash CS4 program.

Instruction

1. Open the program and click in the Create New menu to create Flash File (Actionscript 3.0). After that find the Essentials button in the upper right corner and click it then select the interface of the designer (Designer). Open the section of properties of the created file and set its desirable amount and color of background filling.

2. In the panel of layers create four layers on one of which there will be scripts, on another – pages of the website, on the third – the section of the menu and on the fourth – a background.

3. After layers are created, and you will name them, click the File menu and select Import to Stage. Specify the image which should become background in the opened conductor, and load it into a layer for the background picture.

4. Block all layers, except a layer for the menu block to exclude their random changes. In a layer of the menu click in a top panel the section Windows and select Components. Click on the subsection User Interface and click the Button tab twice that in your menu the button appeared.

5. Manually place the button in the right place of the page and repeat creation of buttons so many time how many it is necessary – depending on quantity of menu items. After creation of buttons be engaged in their setup. Come into a property bar and change the Instance name parameter to button1.

6. Then open in the Window menu and select the subsection Component inspector. Enter the new text for your button and its name. Do the same actions also with other buttons.

7. In the toolbar select the tool of the text and specify type, color and font size in settings. Write desirable heading of your website.

8. After that pass to a layer for pages of the website and by means of the Rectangle tool draw with right color with the configured transparency a rectangle which will become the text block. Then select all layers, having clamped the SHIFT key, not touching a layer for scripts, and right-click on them.

9. Click the Copy Frames submenu and select personnel on three layers. After that click with the right mouse button them again and click Paste Frames. Repeat action until the number of pages reaches the desirable.

10. Click on the first shot in a layer with pages and in settings come on the Label tab. In the line Name enter page1. By means of the tool of the text enter the necessary text of the page, having placed it on the rectangle prepared in last steps – the text block. Do the same with other pages.

11. After that come on a layer for scripts and click F9 on the first shot. The editor of scripts in whom it is necessary to write stop will open (); and to click a space then from a new line to enter the function opening any given page depending on clicking of any given button.

12. For the first button and the first page enter 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. To the first button there corresponds the button1.addEventListener code (MouseEvent.CLICK, button_clicked1); - changing digits, enter codes to all buttons. Your website is ready – it was necessary only to publish it, having clicked the Publish settings point in File and having published the website in swf and html.

Author: «MirrorInfo» Dream Team

Print