# 1009...again. How to initialize the stage?

**URL:** <https://forum.kirupa.com/t/1009-again-how-to-initialize-the-stage/316709>\
**Category:** flash\
**Created:** [November 30, 2010, 3:03pm UTC](https://forum.kirupa.com/t/1009-again-how-to-initialize-the-stage/316709 "2010-11-30T15:03:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilldog](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Post date:** [November 30, 2010, 3:03pm UTC](https://forum.kirupa.com/t/1009-again-how-to-initialize-the-stage/316709/1 "2010-11-30T15:03:06Z")

</div>

I’m running through my code and when the program runs, it gets to the line of code that says “stage.addChild(mainGrid)”, it simply gives me the same old 1009 error. Been scratching my head for days now.
