-
clicktag not working
Hi, I'm pretty new to flash and have created some banner ads but the clicktags are apparently not working and i'm not sure what's missing/what i'm doing wrong. I'll post the .fla & .swf files here - any help would be oh so greatly appreciated!!! KamBanner160x600.flaKamBanner160x600.swf.zip
-
.
Hi,
You are using an AS2 on (release)
when your movie is publishing for AS3.
check out addEventListener(MouseEvent.CLICK
-
ok thanks. I just added in this code: import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.net.navigateToURL;
click_btn.addEventListener(MouseEvent.MOUSE_UP, onClick);
function onClick(e:MouseEvent):void {
var click_url:String = root.loaderInfo.parameters.clickTAG;
if(click_url) {
navigateToURL(new URLRequest(click_url), '_blank');
}
}
...hopefully that will do the trick!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|