As in a flash to make a reference

As in a flash to make a reference

After creation of a banner it needs to be inserted into Flash on the website and to bring him as the link. However standard means of a markup language of HTML to make it do not allow. Therefore for creation of the link it is necessary to write the small code in the Action Script language directly in the file a flash. It is required to you • - Adobe Flash Professional. Instruction 1. Open the flash-file of the .fla format in the Adobe Flash Professional program by means of the File menu – Open, or just drag a banner in a utility window. If the application is not installed, execute its loading from the official site of Adobe developer and make installation, having started the executable file and following the instructions appearing on the screen. 2. Create on a banner a new layer with any name and move it upward. For this purpose click on the Create a Layer button which is in the lower part of a scale of duration of a roller. You can also use the Insert menu - "Timeline" - "Layer". 3. In the panel of the left part of a window select the Rectangle tool tool. In the Colour tab of the right part of a window expose transparent filling and disconnect color of border of a figure. Alpha value install 0%. After performing settings draw a rectangle of any size in any place of the file, in the first shot of the most high layer. 4. Click on the computer keyboard a combination klaviish Ctrl and I or pass into the Window menu — "Information" (Window – Info). Select a rectangle, having clicked on the first shot and having passed to the appeared area. Parameters of the size of a figure should correspond to banner size, and coordinates of X and Y should be equal to 0.0. 5. Transform type of rectangular area. For this purpose key F8 and select Button value. Further click F9 and select the first shot of a high layer. Write the following code: on(release) { getURL ("http://adres_sayta", _blank); } 6. Save the made changes (File – Save). The link in a flash is ready.

Author: «MirrorInfo» Dream Team


Print