SourceTec Software

It is currently Fri Apr 18, 2014 9:08 am

All times are UTC + 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Dec 09, 2010 6:42 am 
Offline
Member

Joined: Mon Nov 19, 2007 8:10 pm
Posts: 9
Hi,

Is there anyone who has integrate mochimedia ads on their animation?

I'm trying to do this but i get some trouble but the code seems to be very simple.

This is the way I used :
I create a first scene where I put an action at the scene entrance event. The code is:
import mochi.as2.*;
var _mochiads_game_id:String = "xxxxxxxxxxxxxxx";
mochi.as2.MochiAd.showPreGameAd({id:_mochiads_game_id, res:"400x300"});

I've also tried to add the class Mochi in the options\tools

If someone can help me... Thanks in advance


Top
 Profile  
 
PostPosted: Thu Dec 16, 2010 2:17 pm 
Offline
Member

Joined: Mon Nov 19, 2007 8:10 pm
Posts: 9
Hi,

I've found a way to do what I want but it is very limitated. Actually, I create a flash project file that contains only the code to launch mochi ads (you can use flashdevelop or anything like this free ide to do that. The code is provided directly by mochimedia. So just to describe the actions :
- On the first timeframe, the code launch is the one you find on mochimedia to launch the ad
- When you click the button "Play" on the ad, the animation go to the next frame
- The second frame got only a line code to display the game swf file (with geturl()).

This architecture is the only one I succeed to make but like I said, it is very limitated because I don't have socials features, coins etc that Mochimedia brings us.

If anyone has an idea, please share it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group