Showing an iAd in AS3 using Adverts ANE
Using distriqt's Adverts extension gives you simple way to add adverts to your AIR application.
if (Adverts.isSupported)
{
Adverts.init( DEV_KEY );
Adverts.service.initialisePlatform( AdvertPlatform.PLATFORM_IAD, "" );
Adverts.service.showAdvert( new AdvertPosition() );
}
Get the extension here: http://distriqt.com/native-extensions
Written by Michael Archbold
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#