# HELP: clickTag Code

**URL:** https://forum.kirupa.com/t/help-clicktag-code/326753
**Category:** flash
**Created:** [January 10, 2012, 7:28am UTC](https://forum.kirupa.com/t/help-clicktag-code/326753 "2012-01-10T07:28:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)
#### Post date: [January 10, 2012, 7:28am UTC](https://forum.kirupa.com/t/help-clicktag-code/326753/1 "2012-01-10T07:28:08Z")

</div>

Hi, I only got this clickTag code from GOOGLE themselves but is giving me some errors when I CHECK the AS.

URL REFERENCE: [http://support.google.com/dfp\_premium/bin/answer.py?hl=en&answer=1085684](http://support.google.com/dfp_premium/bin/answer.py?hl=en&answer=1085684)  
(at the bottom of the page, choose AS3)

```php

MyButtonClip.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent): void {
var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTAG)) {
navigateToURL(new URLRequest(sURL), "_blank");
}

```

The errors says:

```php
Scene 1, Layer 'Layer 96`, Frame 1, Line 5 1084: Syntax error: expecting rightparen before end of program.

```

thank you
