+1-888-298-6995

Blue.Design.Studios

7300738

BlueDesignStudios@ymail.com

BlueDesignStudios@live.com

Tutorials
Your are here: Adult Design Home > Resources > Tutorials > Miscellaneous

Linking Flash Banners
Skill level: Intermediate
Programs used: Flash MX and Dreamweaver 4


This is a tutorial on how to make your banners so that they are clickable.

1. CREATING THE BUTTON
After you've finished designing and animating your banner, make a new button symbol. Open up your library if it's not opened already (press F11). On the bottom left of the panel is a plus icon. Click it and a new panel opens up. Select the button option, name the symbol and then hit OK (Image 1). The button window should open up. In the timeline, there are 4 different types of frames: Up, Over, Down, and Hit. On layer 1, create 3 more blank keyframes(F7) as in Image 2. Now grab the rectangle tool and draw a black box on the stage of the 'hit' frame. You should end up with something like Image 3.


Image 1



Image 2



Image 3

2. ADDING THE BUTTON
Go back to the main scene, and create a new layer. Make sure its on the top. Now from the library drag the button symbol onto your stage. It will look like a transparent aqua-blue box. Resize the button to cover your banner.


Image 4. This is a banner that I designed before-hand.


Image 5. The banner with the button added.

3. SCRIPTING THE BUTTON
Now with the button selected, open up the actions panel. Using the plus icon, add the following script in the window:
on (press) {
getURL(clickTAG, "_blank");
}

Make sure that the clickTAG URL is an expression.


Image 6

4. TESTING YOUR BANNER