[r100] AppMobi directCanvas Browser black screen

Bugs will be moved here once resolved.

Post » Fri Aug 24, 2012 1:18 pm

When I create a blank project and add the Browser object (without even using it) and export to AppMobi directCanvas, I get a black screen. If I remove the Browser object or export to AppMobi browser, then it works.

Here's the error messages I get in the error console:

Uncaught directCanvas error: document.addEventListener is not available in directCanvas canvas.html:401
document.addEventListener canvas.html:401
instanceProto.onCreate c2runtime.js:8374
Runtime.load c2runtime.js:1323
Runtime c2runtime.js:848
cr.createDCRuntime c2runtime.js:2553
(anonymous function)
(anonymous function)

Uncaught TypeError: Cannot set property 'width' of null c2runtime.js:1074
Runtime.setSize c2runtime.js:1074
(anonymous function)
(anonymous function)

CAPX https://www.dropbox.com/s/a4lp1d3hufb0z28/appmobibrowser.capx
r100, latest Chrome, Win7 x64, AppMobi 3.4.0 b863wgfunstorm2012-08-24 13:19:13
B
22
S
9
G
5
Posts: 122
Reputation: 5,386

Post » Fri Aug 24, 2012 1:40 pm

Thanks for the report, the Browser object does indeed break directCanvas export. Should be fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests