Flash application display banner ads in the relative position

The preparation for coding

Before reading this tutorial, please read getting started with flash ad to learn how to get library, how to install library, how configuration platform

Add advertising related as3 code

1.Import keymob related classes
    import com.keymob.*;
2. Initialization Keymob
Initialization Keymob library management is the prerequisite to call other advertising functions, the following initialization method is to use the Keymob.com service
3. Display advertising
Show banner ads in the relative position location at the center bottom of the app

Configuration changes

After writing the code, in accordance with the previous tutorial , add permissions configuration and Activity configuration

More tutorial of add ad in app   qq group 310513042   home