how to show google ad in flash cs6? -


I used this code and ANE file in the library path but did not show the ad. Please help me.

(old link>)

I take the ANE file above the link

  import flash.display.Sprite; Import so.cuo.platform.admob.Admob; Import so.cuo.platform.admob.AdmobPosition; Function SimpleDemo () {var admob: Admob = Admob.getInstance (); Trace (admob.supportDevice) if (admob.supportDevice) {admob.setKeys ("k9c0d6c840db6180439d2e7add2bf014"); Admob.showBanner (Admob.BANNER, AdmobPosition.BOTTOM_CENTER); } Else {txt.text = "Device is not supported"}} SimpleDemo ()    

1. Change Adobe ID with your own Adobe ID

2. Simple SimpleDemo () New SimpleDemo ()

3.config xxx-app.xml

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -