Wiki

Clone wiki

Adobe Air Plugin / showPromo

Overview

Shows promo ad if it is ready. Note that promo can appear automatically if enablePromo() is called, so in such case there is no need to call this method.

Syntax

showPromo(force:Boolean)
force (required)

Boolean. True if you want to be able to show promo more than once per hour, false otherwise.

returns Boolean. True if showing promo was successful, false otherwise.

Examples

#!ActionScript
import com.intentsoftware.adobe.aatkit.AATKitExtension;

.
.
.

var shown:Boolean = AATKitExtension.getInstance().showPromo(true);

Updated