Be a Supporter!

Browse Sections


Newgrounds Wiki: FlashAd

  • Package: com.newgrounds.components
  • Class: FlashAd
The FlashAd component displays an ad inside your game.

Page Contents

Properties

These are the properties of FlashAd.

adType

Return to Top ^
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

Return to Top ^
public var showBorder:Boolean = true;
Determines whether the chrome and NG logo are displayed around the ad.