# Add child creates little white box

**URL:** https://forum.kirupa.com/t/add-child-creates-little-white-box/308450
**Category:** flash
**Created:** [April 23, 2010, 5:32am UTC](https://forum.kirupa.com/t/add-child-creates-little-white-box/308450 "2010-04-23T05:32:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![haseppa](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@haseppa](https://forum.kirupa.com/u/haseppa)
#### Post date: [April 23, 2010, 5:32am UTC](https://forum.kirupa.com/t/add-child-creates-little-white-box/308450/1 "2010-04-23T05:32:23Z")

</div>

I have this code + background color set to grey.  
The weirdest thing is that addChild(something); seems to create a white 46x46 pixel white box on stage.  
If I take addChild away, white box goes away as well…

WHAT IS GOING ON!?

Timeline script:

```auto
var something:Main = new Main();
addChild (something);

```

Main.as:

```auto
package
{
   import flash.display.MovieClip;
    
    public class Main extends MovieClip
    {
        public function Main()
        {
            trace(" Main class instantiated");
            //class content begins..
        }
    }
}

```
