Pop-Under (Pop-Up)

1. Banner summary

ID Number: 03H020.
Description: flash ads pop up or pop under a webpage.
Type of the code: ajax, javascript.
Examples: PopUnder on ajax-code, PopUnder on javascript-code.
Third party tracking: flash banner preparation for further AdRiver pixel insertion.
Alternative name: BackScreen.

2. Banner preparation

2.1. Flash-movie preparation

You should prepare two components of the banner: a flash movie (.swf format) and an image file (.gif/.jpeg format) which is shown to those users who do not have a compatible version of Flash Player installed.

A first frame of your flash-movie should contain the following ActionScript:

if(ar_init == undefined){
 ar_init = true;

Your flash movie should contain a button element with the following ActionScript:

on (release) {

If it is needed to close the Pop-Under window after the click through the banner then your button element should contain the following ActionScript:

    getURL(_root.link1, _root.target);

You can use several button elements. Each element can contain different URL. In this case you can insert simple URL. Note! You should encode this URL with escape() function.

on (release) {

2.2. Javascript preparation for banner on an ajax-code

Open a script.js file with text editor. You may change only an “editable block”:

var 	ar_img		= '',
	ar_swf	 	= '300_250.swf',
	ar_width		= '300',
	ar_height		= '250',
	ar_flashver	= '8',
	ar_place		= '0', // 0 - popunder, 1 - popup
	ar_logo		= '0',
	ar_img_click	= '',
	ar_zeropixel	= '';
  • ar_img — an image name, may contain ‘http://’, in this case will be loaded from location.
  • ar_swf — a flash-movie name, may contain ‘http://’, in this case will be loaded from location.
  • ar_width — a width of a flash-movie.
  • ar_height — a height of a flash-movie.
  • ar_flashver — version of a Flash Player on an user’s PC.
  • ar_place — position relative to other windows: 0 — Pop-Under, 1 — Pop-Up.
  • ar_logo — show (1)/don’t show (0) a Soloway icon in a window with banner.
  • ar_img_click — link for an alternative click through image if need.
  • ar_zeropixel — third party tracking URL if need.

Save the script.js file.

3. Requirements

Names of the files can consist of numbers, latin letters or underscore symbols only and can’t contain any russian letters, space symbols, quotes or other special symbols. Size of the flash banner and the image should be the same.

4. The limit of the file size for banners in AdRiver

  • gif, jpeg, png-files (img width x height banners on AdRiver) — 600К;
  • swf-files (flash width x height banners on AdRiver) — 600K;
  • other file types — 600K;
  • for multicomponent banners the limits are checked for each one component.

To download in the banner files with extra-limit size you can use the box Расположение на стороннем сервере, in which you should insert the pathname to an external server.

For the banners that can’t be loaded from an external server it is possible to increase the limits of the file size. It comes to agreement with sales and support departments.

Last modified on 29.03.2016