Admob and Adobe flash cs6 - Create Admob app with ane 2017

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • source code admobanne.us/
    Use Admob ANE with Flash CS6+
    works with adobe animate
    Many people find developing a mobile app with Flash, which uses Admob ANE, a hard task. Yes, it is not an easy one, but in this post we will explain in details how you can do it. Until now we have proposed several mobile solutions, how to integrate an ANE in Flash/Flex based projects, but the pure Flash projects are a little bit different. To clarify a pure Flash project, is a project which has a main .fla file, created with Adobe Flash (Authoring Tool). So to make things working we should use Flash.
    After a lot of trouble (account canned on ADMOB ) and research, I have gotten Ads to work in all my Android Apps. This will work on a lot of AD networks, but most will ban you click fraud. Only one network allows this method and they provide support for it too.
    I have over 100 games apps. with this method implemented and working. Here is a link to one of them for you to see how it will look in game. I am using multiple ads in this to force the user to click and make me some money: Market
    Earn more with the AdMob Native Extension.
    DESIGNED FOR:FlashFlash BuilderFlashDevelopiOSAndroid
    Monetizing your games and apps on any platform can be a challenge- we're here to make it easier!
    Milkman's simple and intuitive ActionScript API will have you showing banner, interstitial, or video ads in just a few lines of code.
    The extension also supports AdMob Rewarded Video Ads. This is a high paying format where your user can choose to view an advertiser's video in exchange for a reward inside your game. For instance, you can increase your earnings by incentivizing players to earn coins or power-ups inside your game in exchange for watching a rewarded video ad, using a simple event-based API.
    Fine tune your application flow with simple commands to create, destroy, show and hide ads. With smart layout support, ads automatically adjust to the size and rotation of your screen. Our multiplatform solution lets you leverage the exact same code, whether you're targeting the App Store or Google Play.
    Take advantage of the largest advertising network in the world and start earning more with Google AdMob!
    AdMob ANE Features:
    Monetize free users with great CPMs via Google AdMob
    Fast and easy to use - display your first ad with just 3 lines of code
    Complete sample application, as3 docs, and getting started guide included
    Supports all AdMob banner & interstitial formats for both phones and tablets
    Supports AdMob Rewarded Video ads - your players earn in-game items while you earn money
    Supports easy registration of your test devices: develop without affecting your metrics
    100% Native AdMob Code solution - say goodbye to StageWebView hacks
    Smart layout support: Ads reposition automatically when your app changes orientation
    Create, destroy, show and hide ads with simple commands - fine control over your app flow
    Target iOS and Android with the same code
    Up to date for the latest AIR, iOS and Android - including iOS 64 Bit
    1 year of free email support and updates

Комментарии • 23

  • @maniarasan442
    @maniarasan442 5 лет назад

    const-string v0, "^ca-app-pub-[0-9]{16}~[0-9]{10}$"
    How to make this method of armob add code

  • @djpibody
    @djpibody 10 лет назад +1

    I've done everything you showed, but there are no any ads at all, even your apk after installation, doesn't show any ads. do you know why, or what i'm doing wrong. Any help would be nice. I changed myapp.app.xml to be like yours, and no luck, on My device ID i change to mine phones id, any other suggestions?

    • @burroshare
      @burroshare  7 лет назад

      please go to a new ane update link is here admobanne.us/

  • @TheThorns
    @TheThorns 9 лет назад

    followed to the letter, does not work. tried flash cs6 and flash cc. Don't post a tutorial unless you are willing to explain why or why not something works.

  • @triole1
    @triole1 10 лет назад

    please help me with this error: "Type was not found or was not a compile-time constant:"

  • @ttyaman
    @ttyaman 9 лет назад +1

    the links different and incorrect from the ".as" files on the video files. If you look carefully you can see.

    • @emreakguney3314
      @emreakguney3314 8 лет назад

      +Yalçın Yaman kardeşim yapabildiysen video çekermisin yada nasıl yapcağımı anlatırmısın

    • @serkangenc4531
      @serkangenc4531 7 лет назад

      Bende de olmadı eğer siz yapabildiyseniz yardım edebilirmisiniz

  • @YunoGT_
    @YunoGT_ 9 лет назад

    Thank you!

    • @achmad.muslichun
      @achmad.muslichun 8 лет назад

      +Yuno GT may source its code request bro ?I still fail

    • @YunoGT_
      @YunoGT_ 8 лет назад

      + Achmad Muslichun
      package
      {
      import flash.events.MouseEvent;
      import flash.system.System;
      import flash.display.MovieClip;
      import flash.display.Stage;
      import flash.display.DisplayObject
      import flash.events.*;
      import flash.events.KeyboardEvent;
      import flash.utils.setTimeout;
      import flash.media.SoundMixer
      import flash.media.SoundTransform
      import flash.ui.Keyboard
      import flash.desktop.NativeApplication
      import flash.desktop.SystemIdleMode
      import so.cuo.anes.admob.*;
      public class mansionbanner extends MovieClip
      {
      ////////////////////////////////////////////////////////////////////////////////
      public function mansionbanner()
      {
      if (this.stage == null)
      {
      this.addEventListener(Event.ADDED_TO_STAGE, this.OnAddedToStage);
      }
      else
      {
      this.OnAddedToStage();
      }
      }
      ////////////////////////////////////////////////////////////////////////////////
      public function OnAddedToStage(event:Event = null)
      {
      if (event != null)
      {
      this.removeEventListener(Event.ADDED_TO_STAGE, this.OnAddedToStage);
      }
      mAdmob = Admob.getInstance();
      if (mAdmob.isSupported)
      {
      // create a banner ad view.this init the view
      mAdmob.createADView(AdSize.SMART_BANNER, " MY ADMOB CODE ");

      // ad to displaylist position 0, 0
      mAdmob.addToStage(0, 0);
      // send a ad request.
      mAdmob.load(false);
      }
      /*
      // admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER);
      = new Rectangle(0, stage.stageHeight - 80, stageWidth, 48);
      mCursor = new cursorIdle();
      mCursor.x = mouseX;
      mCursor.y = mouseY;
      mCursor.visible = false;
      mCursor.mouseEnabled = false;
      addChild(mCursor);
      */

      }
      private var mAdmob:Admob;
      }
      }

    • @achmad.muslichun
      @achmad.muslichun 8 лет назад

      +Yuno GT The full source bro , heheFull of .fla , .ane , .xml and another

    • @achmad.muslichun
      @achmad.muslichun 8 лет назад

      +Yuno GT I still fail to use the script

  • @kangitok87
    @kangitok87 8 лет назад

    what if using macromedia 8 ?

  • @linobaros
    @linobaros 10 лет назад

    Not working on mine. can you help me?

    • @burroshare
      @burroshare  10 лет назад

      yes please check the xml . you need to put all the code at admob.app.xml together

  • @emreakguney3314
    @emreakguney3314 8 лет назад

    Please could you take a detailed video does not work
    sorry for bad english
    please help me

    • @burroshare
      @burroshare  7 лет назад

      please go to a new ane apk sample here admobanne.us/

  • @triole1
    @triole1 10 лет назад

    this was in my .as file

  • @TicelandOrg
    @TicelandOrg 7 лет назад

    it is not easy. could you please make a new video ?

    • @burroshare
      @burroshare  7 лет назад

      please go to this link for new apk and package admob admobanne.us/