MochiAds
MochiBot is useful for seeing where your .swf has been, but MochiAds can get you paid for all those plays of your game. Integrating MochiAds is almost as easy as MochiBot.
The first thing you need to do is log into MochiAds. Your MochiPass ID from creating your MochiBot should allow you access to this site, so there is no need to sign-up again. When you log in, you will see a screen something like this:

Click the [ADD GAME] button near he top-right of the screen. You will be presented with a screen like this.

Add a descriptive name and the actual game dimensions. This is important, as the ad displayed needs to match the dimensions of your game. After you are finished, click [Create Game]. You will be presented with the screen below:

You need to carefully follow the instructions on this page.
- 1. Download the Mochiads.as file. This comes in a package with several versions. For our game you need to find the /as2 folder and copy the mochiads.as file into the same directory as the homewars.fla.
- 2. Make sure ActionScript 2 is selected, and copy the code from the Pre-game Code: box into the first frame of homewars.fla

- 3. Now you need to run the .swf file and make sure MochiAds shows up before the game loads.

- 4. In the Verify It Worked section, click [Check Again]. If MochiAds is working properly, you should see this message:
Now click [Fill Out Profile] and add some information about the game:

Now Click [SAVE]. At this point you need to wait until Mochi approves your game. This usually takes a few hours to a day, depending on the number of games Mochi has in their queue to approve. Once the game is approved, you can log back into MochiAds to check on the game’s performance.
Read the rest of the series: ‘Anatomy of a Flash Game’
- Anatomy of a Flash Game: Lesson 1 - Setting up the game
- Anatomy of a Flash Game: Lesson 2 - Creating Enemies & The Game Environment
- Anatomy of a Flash Game: Lesson 3 - MochiAds, MochiBot and MochiAds Leaderboards

Is Actionscript 3.0 supported by any of the Mochi products ?
- Kenneth C
Yes, both MochiBot and MochiAds support AS3.
Hey!
Do you have secrets? ;)
pls write me
LaurienGirvenqdv683@live.com