Bookmark Bookmark Bookmark Bookmark Bookmark Bookmark Bookmark My Bookmark - Become a Fan on Facebook!

LorenzGames, All about Flash Games!

Follow me on Twitter! Follow Me on Twitter

How to add MochiAds to your game and earn money from it

June 21st, 2009 - Category: Developers, Flash, Monetize
As many of you know it, Mochiads as improved a lot in the past 2 years.
One of its competitors, GameJacket, failed last week.
Many developers are doing good money with the Mochi Advertising right now.
Are you doing it? Probably you should give it a try!

Mochiads Logo

Mochiads Version Control not only works as advertising but also protect the code of your game.
Here I am going to explain you how to add it to one of your games in ActionScript 3.

First important thing to do is, if you don't have an account, click here to Sign-Up MochiAds Developers Program.
Login in the dashboard and click on the yellow button Setup New Game.
Now it will ask you:
  1. The Title of your game.
  2. The dimensions of you game, write it how big it is, like 640x480 for example (The game must be not smaller than 300x300).
  3. Version Controll click Yes.
  4. Create Game.
In the Version Controll version you dont need to download the Include files from MochiAds.
Now it will ask you to Authenticate your game, write that string of code on the first frame of the time line, or in the document class. The string will be something like this:
var _mochiads_game_id:String = "your code";


If you are using a Document Class remember to clear everything from the Main Function.
For example let's pretend your Document Class is named MyGame.As inside you need to be sure it will look something like this:
package {
	//...imports
 
	public dynamic class MyGame extends MovieClip{
		//...declarations of variables
 
		public function MyGame () {
			//Here nothing!
		}
 
		//... other functions.
	}
}


Now select the colors of you preloader, you can even upload a custom image if you want, make a custom JPG the same size of your game and upload it to make it appear under the preloader line. It will look more fancy!

Then upload your SWF, give it a version number, like "1.0" or" 0.5alpha"... as you want... Emoticon
And eneter a little description only for you, like "First upload".

OK, now continue, download the file they just created for you, it contains the SWF you will have to distribute.
It's almost over Emoticon.
You need to fill out the game profile.

In Game URL write the Link of a page where people will be able to see your game and then upload the swf you just got there.

Add Description, an icon of 100x100 (I suggest you to make a very cute icon becouse it is the first thing people will see), Catoegories, Keywords and Save.
Great, now you are DONE!

Last thing to do if you want is to enable your game for distribution so that Mochiads will help you to spread it on internet.



Article Comments


play free games - August 5th, 2010
I've been using GameJacket because I thought its better than the Mochiads. GameJacket makes my game slow to navigate. Hope that Mochiads is faster than the GameJacket. I will try Mochiads for my next game. Thanks for the information

Write a Comment: