Flash banners - english version

Extra module voor het plaatsen van banners (advertentielinks) in de linkerkolom van je website
Site Admin
Berichten: 398
Lid geworden op: 03 jan 2007, 13:15

Flash banners - english version

Bericht door maakum » 01 apr 2010, 18:10

To make your flash banner clickable it should contain the 'clickTag' expression.

(The explanation below describes Actionscript 2.0)

1. Add a new layer (Insert>Timeline>Layer) above all other layers. Select the first keyframe in this new layer.

2. Draw with the ‘Rectangle Tool’, a rectangle which covers the whole banner.

3. Select the ‘Selection Tool’. Double click the rectangle to select it. Right click and select ‘Convert to Symbol’. Name the symbol (in this example 'mybtn') and choose ‘Button’ as behaviour.

4. Double click the rectangle again to edit the button and drag the 'UP' to the 'Hit' frame.

5. Select ‘Edit>Edit Movie’ to return to ‘Scene 1’. You will now see a blue transparant rectangle, this is your button.

6. Select in the timeline the first keyframe of the button layer and open the ‘Actions panel’ (F9).

7. Copy the code below into the ‘Actions panel’:

mybtn.onRelease = function() {
if (clickTAG.substr(0, 5) == "http:") {
getURL(clickTAG, "_blank");

* Please note: The 'Banner target' for Flash banners is set in the code above , not in the CMS. With "_blank" the link will open in a new window, with "_self" in the same window.
Plaats reactie