# I am IN HUGE Trouble

**URL:** <https://forum.kirupa.com/t/i-am-in-huge-trouble/328045>\
**Category:** flash\
**Created:** [April 15, 2012, 6:29am UTC](https://forum.kirupa.com/t/i-am-in-huge-trouble/328045 "2012-04-15T06:29:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimacy](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Post date:** [April 15, 2012, 6:29am UTC](https://forum.kirupa.com/t/i-am-in-huge-trouble/328045/1 "2012-04-15T06:29:38Z")

</div>

I publish my swf, everything works great. I make a preloader that seems to run well and here are the actions:

```auto
var l:Loader=new Loader();l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE,done);
l.load(new URLRequest("MVCSpringBeauty12512.swf"));

function loop(e:ProgressEvent):void
{
    var perc=e.bytesLoaded/e.bytesTotal;
    ProgBar.scaleX=perc;
}

function done(e:Event):void
{ removeChildAt(1);[COLOR=#00ff00]//tried this[/COLOR]
      [COLOR=#00ff00] // removeChild(sunnyGulag); tried this ,should be the same as removeChildAt(1)[/COLOR]
    removeChildAt(0);[COLOR=#00FF00]//tried this
[/COLOR] removeChildAt(progBar);[COLOR=#00FF00]//tried this [/COLOR][COLOR=#00FF00] ,should be the same as removeChildAt(0)[/COLOR]
    [COLOR=#00ff00]//addChild(l);[/COLOR][COLOR=#00FF00]//tried this[/COLOR]
    
}

```

Problem is that when the game starts to play I can still see my menu screen in the background and then my asBaseScreen is also in the background!!! My screenHandler is being screwed up by the ■■■■ preloader. I need a point in the right direction PLEASE:crying:
