• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hello Ned, regarding my last post

Participant ,
Sep 20, 2012 Sep 20, 2012

Copy link to clipboard

Copied

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

TOPICS
ActionScript

Views

2.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Sep 20, 2012 Sep 20, 2012

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-parameter-child-must-be-non-null

Votes

Translate

Translate
LEGEND ,
Sep 20, 2012 Sep 20, 2012

Copy link to clipboard

Copied

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-parameter-child-must-be-non-null

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 22, 2012 Sep 22, 2012

Copy link to clipboard

Copied

Hello Ned, thanks very much for your accurate response, I made what you said,

and the problem disappeared but, it throw me another error :

I used an application from the examples of adobe of a Combobox in

this "othersCafes.swf" it works fine, only when it is loaded in"cafes.swf"

I hope as always your valuable help.

Have a nice Day !!

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.

at fl.containers::BaseScrollPane/drawBackground()

at fl.controls::List/draw()

at fl.core::UIComponent/drawNow()

at fl.controls::List/scrollToIndex()

at fl.controls::SelectableList/scrollToSelected()

at fl.controls::ComboBox/open()

at otherscafes

_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:76]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

ArgumentError: Error #2025: El objeto DisplayObject proporcionado debe ser un elemento secundario del llamador.

at flash.display::DisplayObjectContainer/removeChild()

at fl.controls::ComboBox/close()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:74]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.

at fl.containers::BaseScrollPane/drawBackground()

at fl.controls::List/draw()

at fl.core::UIComponent/drawNow()

at fl.controls::List/scrollToIndex()

at fl.controls::SelectableList/scrollToSelected()

at fl.controls::ComboBox/open()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:76]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

ArgumentError: Error #2025: El objeto DisplayObject proporcionado debe ser un elemento secundario del llamador.

at flash.display::DisplayObjectContainer/removeChild()

at fl.controls::ComboBox/close()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:74]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.

at fl.containers::BaseScrollPane/drawBackground()

at fl.controls::List/draw()

at fl.core::UIComponent/drawNow()

at fl.controls::List/scrollToIndex()

at fl.controls::SelectableList/scrollToSelected()

at fl.controls::ComboBox/open()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:76]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

ArgumentError: Error #2025: El objeto DisplayObject proporcionado debe ser un elemento secundario del llamador.

at flash.display::DisplayObjectContainer/removeChild()

at fl.controls::ComboBox/close()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:74]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.

at fl.containers::BaseScrollPane/drawBackground()

at fl.controls::List/draw()

at fl.core::UIComponent/drawNow()

at fl.controls::List/scrollToIndex()

at fl.controls::SelectableList/scrollToSelected()

at fl.controls::ComboBox/open()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:76]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

ArgumentError: Error #2025: El objeto DisplayObject proporcionado debe ser un elemento secundario del llamador.

at flash.display::DisplayObjectContainer/removeChild()

at fl.controls::ComboBox/close()

at otherscafes_fla::MainTimeline/timerHandler()[otherscafes_fla.MainTimeline::frame1:74]

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 22, 2012 Sep 22, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 24, 2012 Sep 24, 2012

Copy link to clipboard

Copied

Hello Ned.

Precisely had already tried the same experiment with adding a combobox on stage,

but did not work, exist another way that can help?

Thanks for any suggestion, and thanks for your help.

Regards

Joselyn

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 24, 2012 Sep 24, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 02, 2012 Oct 02, 2012

Copy link to clipboard

Copied

Hello Ned:

Sorry for the delay, yes I was cleaned things out of the library that I thought weren't using, so I change my code to adding them by code, and remove them adding new ones, there were some errors like this.

"** Warning ** The linkage identifier 'fl.controls.DataGrid' was already assigned to the symbol 'DataGrid' and you can not assign it to symbol 'Component / DataGrid' because the linkage identifiers must be unique."

So I preffer to do a new file, I believe there is no one problem

Just I want to say to you thanks a lot for your great patience and help.

Regards

Joselyn

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 02, 2012 Oct 02, 2012

Copy link to clipboard

Copied

LATEST

You're welcome Joselyn.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines