Hi, I would like to place an ad in a game I am developing in AS3. I was searching the site and understood how to add and connect the Flash API. I also read that to add an ad I need to use
import com.newgrounds.components.*;
var flashAd:FlashAd = new FlashAd();
addChild(flashAd);
but I am not exactly sure where to put this. Do I put this in a preloader? Is there a simple tutorial or a template available? Would be much appreciated :)