I have a strange error... I have a linkbar that is being dynamically populated. I need to be able to refresh the link bar. So I have this code:
http://pastebin.com/m78e78eb0 When I click the clear button which calls removeAllChildren() for the linkbar, I get this error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/getChildIndex() at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::rawChildren_getChildI ndex()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:3879] at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeC hild()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:3813] at mx.core::ContainerRawChildrenList/removeChild()[E:\dev\3.1.0\frameworks\projects\fra mework\src\mx\core\ContainerRawChildrenList.as:157] at mx.controls::LinkBar/childRemoveHandler()[E:\dev\3.1.0\frameworks\projects\framework \src\mx\controls\LinkBar.as:560] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() etc, etc... What's really weird is that I only get this error when using safari. If I look at the same code using firefox, I get no error. Does anyone have any clue what I'm doing wrong? I really need to be able to do this, and I can't seem to find a solution. Thanks!! Adam

