Created
October 4, 2013 10:56
-
-
Save marinat/6824223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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