Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Banner with click thru generate "0" on the end of URL

New Here ,
Feb 19, 2014 Feb 19, 2014

Hello,

I have made banner with click thru for counting clicks. But the servis of the serever, where I want to put the banner, still giving me back, because the url whitch they set on it generate on the end "0", so it doesnt work. (for example www.adress.com/0 )

I checked all the layers, and only script whitch I have there is the click thru, nothing more. I'am not flash expert, but I made some similer banners before and there were no troubles.

The click thru look like this:

on (release) {

if (_root.clickthru==undefined && _root.clickTag) {

_root.clickthru = _root.clickTag;

}

if (_root.clickthru==undefined && _root.clickTAG) {

_root.clickthru = _root.clickTAG;

}

if ( _root.clickTarget ==undefined) {

_root.clickTarget = "_top";

}

getURL(_root.clickthru, _root.clickTarget);

}

Please, do you have some idea, where can be the trouble? I think, it must be on the server owner side, but I really don't know.

Thanks, Jakub.

TOPICS
ActionScript
829
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2014 Feb 19, 2014

use the trace function to start debugging, or if you're testing in a browser use a textfield or something else to see the value of _root.clickthru.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 20, 2014 Feb 20, 2014

if (_root.clickthru==undefined && _root.clickTag) {

_root.clickthru = _root.clickTag;

}

after the && there is not an equality check so it probably won't work. Maybe you need an == and something after it instead of _root.clickTag on its own. The same for the second if statement.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 20, 2014 Feb 20, 2014

Thank you very much, at the end I could look in to the administration of the advertaiser server and I founded, that they hade mistake in their code. Now is everything working absolutely ok.

Thank you again!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 20, 2014 Feb 20, 2014
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines