1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense in SWF

Discussion in 'Programming' started by bedio, Apr 5, 2014.

  1. #1
    Hello,
    Can anyone help me. I need to integrate adsense for games (I am approved) in swf file only.

    This is an example preloader, but called from .html file. Well, I need something like this, but the params to be via as3 or inside the flash.

    Can anyone help,
     
    bedio, Apr 5, 2014 IP
  2. john.peter

    john.peter Well-Known Member

    Messages:
    307
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #2
    I have a better idea. This will be cost effective and easy if you know how to handle multiple swfs in the same div by making the visible and invisible.

    Just use the demo/sample swf if you can configure your adsense properties and pass the parameters from the JS. Once the ad is loaded, you can show a skip button on top of this DIV and on click, you can hid this div and show the actual game swf. It should be simple.

    What do you think?
     
    john.peter, Apr 17, 2014 IP
    living2xl likes this.