NaN:NaN
NaN:NaN
--:-- / --:--
Newgrounds Background Image Theme

Blacklight30 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Newgrounds Wiki: FlashAd

  • 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.