Error #2007 Parameter Child Must Be Non-null
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question http://stackoverflow.com/questions/5533019/typeerror-error-2007-parameter-child-must-be-non-null-at-flash-displaydisp x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error #2007: Parameter child must be non-null up vote 0 down vote favorite Having nothing but http://stackoverflow.com/questions/18270957/error-2007-parameter-child-must-be-non-null errors today! It would be sooo nice to get a bit of help with this one. I am calling external child swfs for an AIR app; SUPER SIMPLE - calling them with a button, and removing them with a "home" button, that's it. But I get these errors and I cannot publish, even a test, without crashing the entire system. Please help! I have been stuck on this, literally, for weeks! this is the error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/removeChild() at pocketDinos_fla::MainTimeline/fl_ClickToGoToAndStopAtFrame_20_1() [pocketDinos_fla.MainTimeline::frame162:18] Test Movie terminated. And this is what I assume is causing the problem on the main timeline (this is ALL the code on the main timeline): stop(); //home button button_home.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_01_1,false,0,true); function fl_ClickToLoadUnloadSWF_01_1(event:MouseEvent):void { removeChild(fl_ProLoader_01); fl_ProLoader_01.unloadAndStop(); fl_ProLoader_01 = null; } button_home.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_01_1,false,0,true); function fl_ClickToGoToAndStopAtFrame_01_1(event:MouseEvent):void { removeChild(fl_ProLoader_01); } button_home.addEventListener(MouseEvent.CLICK, fl_ClickToStopAllSounds_01_1,false,0,true); function fl_ClickToStopAllSounds_01_1(event:MouseEvent):void { So