Error: bb_Init is not defined

Monkey Targets Forums/HTML5/Error: bb_Init is not defined

luggage(Posted 2011) [#1]
When I try and run my game it loads into Firefox 4.0.1. I get the following errors in the console and nothing appears.

Error: preview is undefined
Source File: resource://gre/modules/WindowsPreviewPerTab.jsm
Line: 380

Error: bb_Init is not defined
Source File: http://localhost:50201/main.js
Line: 64

Error: preview is undefined
Source File: resource://gre/modules/WindowsPreviewPerTab.jsm
Line: 380

Any ideas what I've done wrong? I'm loading a couple of images but nothing much else. The example programs still work fine.

I'm using Diddy but I'm not sure where the problem would be.

Thanks!


Raz(Posted 2011) [#2]
Updated monkey and not cleared your build directory? :)


luggage(Posted 2011) [#3]
doh! That's got it working.

I was sure I tried that. Well, never updated Monkey as it was the latest install when I purchased it, but I thought I'd cleared my build folder out.

Thanks!