- Package: com.newgrounds.components
- Class: FlashAd
The FlashAd component displays an ad inside your game.
Properties
These are the properties of FlashAd.
adType
public var adType:String = "Video";
Sets the type of ads that are displayed by the Flash Ad. This can be set to:
- "Video", to display both video and small ads.
- "Simple", to only display small ads.
showBorder
public var showBorder:Boolean = true;
Determines whether the chrome and NG logo are displayed around the ad.