-
1. Re: Hello Ned, regarding my last post
Ned Murphy Sep 20, 2012 5:12 PM (in response to Joselyn6)1 person found this helpfulThe 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-no n-null
-
2. Re: Hello Ned, regarding my last post
Joselyn6 Sep 22, 2012 10:38 AM (in response to Ned Murphy)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
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()
-
3. Re: Hello Ned, regarding my last post
Ned Murphy Sep 22, 2012 10:49 AM (in response to Joselyn6)2 people found this helpfulYou 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.
-
4. Re: Hello Ned, regarding my last post
Joselyn6 Sep 24, 2012 12:11 PM (in response to Ned Murphy)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
-
5. Re: Hello Ned, regarding my last post
Ned Murphy Sep 24, 2012 1:45 PM (in response to Joselyn6)2 people found this helpfulDid 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.
-
6. Re: Hello Ned, regarding my last post
Joselyn6 Oct 2, 2012 12:16 PM (in response to Ned Murphy)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
-
7. Re: Hello Ned, regarding my last post
Ned Murphy Oct 2, 2012 2:56 PM (in response to Joselyn6)You're welcome Joselyn.