Home
> FlashEff 2.0
> Topic
Google Adwords ClickTAG
Posted by user636716
|
Google Adwords ClickTAG May 11, 2011 10:50AM | Registered: 2 years ago Posts: 2 |
I can´t use flashVars because i cant edit the html where the flash is going to be.
So wich code in AS3 can i use for a ClickTag for google Adwords so the flashEff effects keep working?
Because with the one that i´m supposed to use removes the effects of the flashEff.
Im supposed to use this:
on (release) {
if (clickTAG.substr(0,5) == "[www.youtube.com];) {
getURL(clickTAG, "_blank");
}
}
So wich code in AS3 can i use for a ClickTag for google Adwords so the flashEff effects keep working?
Because with the one that i´m supposed to use removes the effects of the flashEff.
Im supposed to use this:
on (release) {
if (clickTAG.substr(0,5) == "[www.youtube.com];) {
getURL(clickTAG, "_blank");
}
}
|
Re: Google Adwords ClickTAG July 26, 2011 09:39AM | Admin Registered: 4 years ago Posts: 310 |
|
Re: Google Adwords ClickTAG August 08, 2011 02:50AM | Registered: 1 year ago Posts: 13 |
Hi [where] or [how] do i add the specified URL in the following code provided in that tutorial:
// The clickTag variable is placed through FlashVars in a list of parameters
// that the current clip uses when loading. Those paremeters can be accessed
// fropm the LoaderInfo object of the current clip. The name of the variable
// doesn't necessarily have to be "clickTag". You can name it anyway you like.
var paramList:Object = this.root.loaderInfo.parameters;
// Listen for the CLICK event on the button clip.
buttonClip.addEventListener(MouseEvent.CLICK, openURL);
// When the button is clicked then the navigateToURL function will open the
// specified URL. The function does not accept the URL directly as a String.
// You need to specify the URL as a URLRequest object.
function openURL(evtObj:MouseEvent):void {
var request:URLRequest = new URLRequest(paramList["clickTag"]);
navigateToURL(request, "_blank");
}
Please can you help
// The clickTag variable is placed through FlashVars in a list of parameters
// that the current clip uses when loading. Those paremeters can be accessed
// fropm the LoaderInfo object of the current clip. The name of the variable
// doesn't necessarily have to be "clickTag". You can name it anyway you like.
var paramList:Object = this.root.loaderInfo.parameters;
// Listen for the CLICK event on the button clip.
buttonClip.addEventListener(MouseEvent.CLICK, openURL);
// When the button is clicked then the navigateToURL function will open the
// specified URL. The function does not accept the URL directly as a String.
// You need to specify the URL as a URLRequest object.
function openURL(evtObj:MouseEvent):void {
var request:URLRequest = new URLRequest(paramList["clickTag"]);
navigateToURL(request, "_blank");
}
Please can you help
|
Re: Google Adwords ClickTAG August 08, 2011 09:43AM | Admin Registered: 5 years ago Posts: 514 |
The url is specified in the html code when you embed the swf you add the flashVars parameter and there you set the value for the clickTag.
See this [www.flashinyourface.com],
[blog.six4rty.ch]
and
[blogs.adobe.com]
See this [www.flashinyourface.com],
[blog.six4rty.ch]
and
[blogs.adobe.com]
Sorry, only registered users may post in this forum.






