How To Make Links In Flash

Table of contents:

How To Make Links In Flash
How To Make Links In Flash

Video: How To Make Links In Flash

Video: How To Make Links In Flash
Video: Adobe Flash - Adding a hyperlink to a button 2024, May
Anonim

Flash is a beautiful, bright and convenient format for designing Internet pages. With its help, you can create animated banners, buttons, and much more - in particular, advertising banners created in flash can, when clicked, lead to the advertiser's website. You will learn how to correctly link the entire surface of a flash banner in this article.

How to make links in flash
How to make links in flash

Instructions

Step 1

In Adobe Flash, make a flash banner, then create a new layer in it. Place a new layer at the very top and insert a rectangular object into it, the dimensions of which match the dimensions of the banner.

Step 2

Make the rectangle transparent and convert it to a button (Button object). Click on the created button and paste the ActionScript 2.0 code into it in the Actions section in the empty field.

Step 3

This code provides a transition to the desired link when you click on the banner on which you placed the transparent button object, and it looks like this:

on (release) {

getURL ("https://www.site.com", _blank);

}

Step 4

Instead https://www.site.com specify the address to which the advertising banner should lead. At the beginning of any URL there must be an http parameter - otherwise, the banner will not work correctly and will not lead to the advertiser's website. Provide a link to the desired site, or to its separate page

Step 5

The _blank parameter allows you to open the page the banner leads to in a new window. By removing _blank, you will be able to open the clickable banner in the same window you are in.

Step 6

For ActionScript 2.0 to work correctly, you must create an appropriate document - this code will not work in an ActionScript 3.0 document.

Step 7

Thus, you can create any advertising in the format of clickable banners, which will help you attract visitors to certain sites, as well as earn money from traffic to your pages and from traffic to advertisers' pages.

Recommended: