actionscript 3 - Flash ads for adwords: Using mouse tracking error -
i created flash ad using adobe flash cs6 textarea , dropdown. tried submit adwords keeps telling me have mouse tracking in code. should do?
import flash.net.navigatetourl; import flash.net.urlrequest; import flash.net.urlvariables; bb.addeventlistener(mouseevent.click, fl_clicktogotowebpage); function fl_clicktogotowebpage(event:mouseevent):void { var dir_web:string = root.loaderinfo.parameters.clicktag; var request:urlrequest = new urlrequest(dir_web); var urlvars:urlvariables = new urlvariables(); urlvars.asktext = asktextonstage.text; urlvars.category = cb.selecteditem.data; request.data = urlvars; request.method="post"; navigatetourl(request,"_blank"); }
it reading code , finding string or 2 in it doesn't like.
try changing
bb.addeventlistener(mouseevent.click, fl_clicktogotowebpage);
to
bb.addeventlistener('click', fl_clicktogotowebpage);
and change
function fl_clicktogotowebpage(event:mouseevent):void
to
function fl_clicktogotowebpage(event:*):void
good luck!
Comments
Post a Comment