Skip to content

Instantly share code, notes, and snippets.

@marinat
Created October 4, 2013 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marinat/6824223 to your computer and use it in GitHub Desktop.
Save marinat/6824223 to your computer and use it in GitHub Desktop.
package net.firepush.adnet
{
/**
* ...
* @author marinat
*/
import flash.external.ExtensionContext;
public class FirePushExtension
{
private static var context:ExtensionContext;
public static function init():void {
if(!context) context = ExtensionContext.createExtensionContext("net.firepush.adnet.FirePushLib", null);
}
public static function showBanner(developerId:String):void {
if (context) context.call("showBanner", developerId);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment