Skip navigation
Currently Being Moderated

Hello Ned, regarding my last post

Sep 20, 2012 4:55 PM

Tags: #actionscript3

I test the swf (Child), where I load another external (child-little) swf, but it throw me this error, could you please help me ? I was triyng searching some explanation, but maybe i cannot to understand.

 

TypeError: Error #2007: El valor del parámetro child debe ser distinto de null.

at flash.display::DisplayObjectContainer/addChildAt()

at fl.controls::BaseButton/drawBackground()

at fl.controls::BaseButton/draw()

at fl.core::UIComponent/drawNow()

at fl.controls::ComboBox/drawLayout()

at fl.controls::ComboBox/draw()

at fl.core::UIComponent/callLaterDispatcher()

TypeError: Error #2007: El valor del parámetro child debe ser distinto de null.

at flash.display::DisplayObjectContainer/addChildAt()

at fl.controls::BaseButton/drawBackground()

at fl.controls::BaseButton/draw()

at fl.core::UIComponent/callLaterDispatcher()

 

Please tell me if I have to send my code, please, thanks again in advance.

Joselyn

 
Replies
  • Currently Being Moderated
    Sep 20, 2012 5:12 PM   in reply to Joselyn6

    The first thing I will suggest is based on a search I just did regarding finding out what error 2007 is in English.  Try dragging a Button component from the components panel onto the stage so that it ends up in the library and then delete it from the stage.

     

    For your own reference, the search result can be found at: http://stackoverflow.com/questions/4573282/typeerror-error-2007-parame ter-child-must-be-non-null

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 10:49 AM   in reply to Joselyn6

    You seem to be having more issues with components.  I recommend you drag every type of component into the stage like you did with the Button and see if that helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 24, 2012 1:45 PM   in reply to Joselyn6

    Did you at any point try to clean things out of your library that you thought you weren't using?  When you use components, they carry a lot of baggage and leave it in the library.

     

    Which component(s) are you actually trying to use in your file, and how do you add them to the stage, using code or by manually planting them?

     

    I will suggest you try removing them all add adding new ones in from the components library.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 2, 2012 2:56 PM   in reply to Joselyn6

    You're welcome Joselyn.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points