google ad code wrong
i submitted couple of flash ad banners google ad campaign , clicktag code gave me looks it's as2 applies code object:
(http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=26938)
on (release) {
geturl(clicktag, "_blank");
}
i found somewhere appropriate as3 code google rejected too. know proper code satisfy google?
gf
this should (given code on timeline):
var flashvars:object = this.root.loaderinfo.parameters; button.addeventlistener(mouseevent.click, openclicktag); function openclicktag(evtobj:mouseevent):void { navigatetourl(new urlrequest(flashvars["clicktag"]), "_blank"); }
More discussions in ActionScript 3
adobe
Comments
Post a Comment