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


These are the properties of FlashAd.


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.


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