I got the preloader working. I had a problem with overriding the
default start and finish ad functions. They were stopping the movie
> I've just taken a look at the code that calls the swf from the MJ
> servers, and there is a counter at the end of the URL like: 'http://
> devstatic.mindjolt.com/static/flash/QX/SOME_CODE.swf?v=XX'
> I think the uploads were showing me the correct version of the game
> after the upload had completed until the version got to more than 9 or
> 10. Maybe there is some bug with the version query '?v=XX' when the
> version number reaches double figures???
> I wanted to get this update done today, but as I can't test that
> everything is working correctly on the site, I'll have to wait...
> On Sep 30, 5:23 am, NipponMonkey <nipponmonkey...@gmail.com> wrote:
> > I tried adding the pre game ad to a preloader, I altered the default
> > preloader in FlashDevelop, and it worked fine locally, but failed
> > with:
> > "ReferenceError: Error #1065" when uploaded. This was when the
> > preloader was trying to add the main game class, after the whole file
> > had loaded. So I couldn't get it to work. Maybe it's something to do
> > with a MJ wrapper around my swf or something???
> > Now I'm getting bugs with the upload page on MJ again. Everytime I try
> > to upload a new version I keep getting my old mochi version of the
> > game after my new version is uploaded. This has nothing to do with
> > cache issues on my part as previously the uploaded file loaded
> > correctly, and I'd cleared my cache before every upload.
> > Uploading and testing the API is getting a little frustrating...
> > I removed the API's pre game ad call from my preloader to see if the
> > normal preloader would work when in the testing area online, but I
> > can't get to test that version of the game as I can only get the older
> > version of the game now!!!
> > On Sep 30, 1:42 am, NipponMonkey <nipponmonkey...@gmail.com> wrote:
> > > What is the best way to use the MindJoltAPI.ad.showPreGameAd ads???
> > > If I put it in the main class, then it seems to start to ad after the
> > > game is completely loaded.
> > > Should I integrate the MindJoltAPI.ad.showPreGameAd into a preloader
> > > somehow, or should I make my own preloader then show the ad
> > > afterwards??? - This doesn't seem ideal to me!
> > > Does anyone have a example of the best way to make the
> > > MindJoltAPI.ad.showPreGameAd ad work as a proper preloader ad?
> > > A better example of the MindJoltAPI.ad.showPreGameAd method and how it
> > > should be used for loading the game correctly would be nice.
> > > Cheers