Google says they accept AS3 now but I have yet to find a code that works. Help please:
I need a clickTAG code that words for AS3 and google ads. Google give this code to use:
import flash.events.MouseEvent;
import flash.net.URLRequest;
// ......
thisButton.addEventListener(
MouseEvent.CLICK,
function(event: MouseEvent) : void {
flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), “_blank”);
}
);
But I get this error message when I click on the banner
TypeError: Error #2007: Parameter url must be non-null.
at global/flash.net::navigateToURL()
Help!