0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'addChild'

Deimantas's Avatar


20 Apr, 2013 03:04 PM

Hi there.
I am following a tutorial seen on http://www.sitepoint.com/creating-a-simple-windows-8-game-with-java... on how to make Windows 8 game and have a problem. At line 99 I'm getting an error : " Unhandled exception at line 99, column 9 in ms-appx://2c38fd89-a7ec-466d-933d-21213a0b3de9/js/default.js
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'addChild' "

What is that? Why I'm getting this error?

  1. 1 Posted by Deimantas on 20 Apr, 2013 03:07 PM

    Deimantas's Avatar

    Sorry for that picture I uploaded. I just experimented a little with code, her I attached my real error photo.

  2. Support Staff 2 Posted by Sebastian De Ro... on 20 Apr, 2013 03:56 PM

    Sebastian De Rossi's Avatar


    From the code you posted, you have to create an instance of the stage class.
    What you are trying to do is use Stage as a static class, which will give you errors.

    var stage = new createjs.Stage("test");

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

25 Mar, 2015 10:24 PM
25 Mar, 2015 10:23 PM
25 Mar, 2015 08:27 PM
24 Mar, 2015 03:19 PM
23 Mar, 2015 05:07 PM


23 Mar, 2015 03:26 PM
22 Mar, 2015 11:15 PM
22 Mar, 2015 01:25 PM
19 Mar, 2015 01:45 PM
18 Mar, 2015 01:47 PM
18 Mar, 2015 11:17 AM