守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 1365|回复: 1

iad-ane-ios-air

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52584
    钢镚
    1422

    开源英雄守望者

    发表于 2015-3-31 14:25:31 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: iad-ane-ios-air
    支持64位: 支持
    当前版本: 未知
    运行平台: IOS 
    开发语言: ActionScript 3 其他 
    应用类别: ANE-C/C++
    应用简介: iad ane on ios air for flash air developer
    iad-ane-ios-air

    this is a free actionscript native extension of iad for flash air mobile application,enable as3 developter to add iad ad in ios app.this ane for air
    is a ios ane ,not support android.apple ad network just support banner(iphone,ipad) and Interstitial(ipad),
    and this air ane support all native function,include all size type banner,interstitial and event

    1.to use this native extension ,you would enable iad inhttps://itunesconnect.apple.com/WebObjects/iTunesConnect.woa
    2.requrie flash air sdk 3.9 or high
    ref:http://labs.adobe.com
    3.native extension has been test on iphone 4(ios 7) and ipad mini2(ios 7) work well
    home:http://code.google.com/p/iad-ane-for-flash-air-mobile-ios/

    usage:

    1.add iad1.0.ane to your actionscript mobile project or flex mobile project
    2.add as3 code

    a. show iad banner in flash air application
    1. if(IAd.getInstance().supportDevice){    //check is ane air available,this will been true on device                    
    2.         IAd.getInstance().showBanner(IAd.BANNER,IAdPosition.BOTTOM_CENTER);
    3.     }
    复制代码


    b. show iad interstitial Advertisement with native extensions for air iad is this same easy
    1. if(IAd.getInstance().supportDevice&&IAd.getInstance().supportedInterstitial){//check ane support ,apple not provice Interstitial ad on iphone
    2.         IAd.getInstance().addEventListener(IAdEvent.onInterstitialReceive,onAdReceived);
    3.         IAd.getInstance().cacheInterstitial();
    4.     }
    5.       protected function onAdReceived(event:IAdEvent):void
    6.     {//when ad received success, show it
    7.         if(event.type==IAdEvent.onInterstitialReceive){
    8.             IAd.getInstance().showInterstitial();
    9.         }
    10.     }
    复制代码
    you may like

    https://github.com/lilili87222/as3-air-ad-network-framework

    if user like this lib,you can download and review our game
    https://itunes.apple.com/us/artist/phonegame/id553087275?mt=8
    donate and download more ane
    http://www.cuo.so/ane-list/index.html







    相关链接:


    https://github.com/lilili87222/iad-ane-ios-air


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52584
    钢镚
    1422

    开源英雄守望者

     楼主| 发表于 2015-4-3 16:12:45 | 显示全部楼层
    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2024-3-19 15:55 , Processed in 0.045512 second(s), 33 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表