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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -