I'm working on online animated Flash banners for Google, there's a code called clickTAG to be added on an invisible button in the swf file, so Google can track where the clicks came from (which website URL). In Adobe Flash Pro, you have to add the following code
on (release) {
getURL (_root.clickTAG, "_blank");
}
The banners are a lot and i am using SWiSHMax4 instead of Flash to create the them, the previous code seems to be the same syntax of SWiSHMax's script, but i am not sure if it's gonna work as I didn't run the ads on the server yet. Kindly assist if the previous code will work if the output of the SWF file came from SWiSHMax and not from Adobe Flash Pro.
Thanks in advance...
Most providers do search the SWF bytecode for
GetURL
and/orGetURL2
actions, which are part of the SWF3, respectively SWF4 action model, SWiSH Max3 and newer however are using theCallFunction
action to invokegetURL()
as of SWF5, and so yourgetURL()
calls cannot be found.The only way to export the old style actions, is to export as SWF4.