LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-05-2009, 11:27 AM
iggyKoopa iggyKoopa is offline
Registered User
 
Join Date: Dec 2008
Posts: 3
Rep Power: 0
iggyKoopa is on a distinguished road
Angry error adding List component

Hi!
I created a class that adds a list component in a certain moment. Something like this:

Code:
import fl.controls.*; 
...
var myList: List = new List();
...
addChild(myList)
but in the last line, i get a huge error. I realized the error message disappears and everything works well if i put the list component in the library. Is it really necessary Here's the error message. Thank you all in advance

Code:
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/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/drawNow()
    at fl.controls::ScrollBar/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()
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::LabelButton/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()
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()
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::ScrollBar/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()
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::LabelButton/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()
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()
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List Component Output to Array (Flash 8) gylippus Newbies 4 01-31-2009 12:40 PM
Searching the List Component paulcybulski Actionscript 2.0 2 02-04-2008 07:30 PM
Horizontal Scroll in List Component? paulcybulski Actionscript 2.0 0 01-29-2008 08:20 PM
MP3 Player using List Component and XML Playlist dogandking Flash MX 2004 0 12-05-2006 06:41 PM
displaying list component title scooter Flash Components v0 2 10-20-2005 07:38 PM




All times are GMT. The time now is 06:37 AM.