I have this other stack trace (before the crash would appear for 2 different
reason, now only this one seems to be left as I fixed the Menu):

RangeError: Error #2006: L'index indiqué sort des limites.
        at flash.display::DisplayObjectContainer/addChildAt()
        at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/SystemManager.as:2138]
        at
mx.managers::SystemManager/addChildAt()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/SystemManager.as:1761]
        at
mx.managers::SystemManager/addChild()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/SystemManager.as:1744]
        at
mx.managers::PopUpManagerImpl/addPopUp()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:352]
        at
mx.managers::PopUpManager$/addPopUp()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManager.as:201]
        at
mx.controls::Alert$/show()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/Alert.as:626]
        at
Function/<anonymous>()[D:\Faeria\FaeriaClient\src\ingame\effect\Victory.as:62]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at
CompleteData/execute()[D:\Faeria\FaeriaClient\src\aze\motion\EazeTween.as:801]
        at
aze.motion::EazeTween$/updateTweens()[D:\Faeria\FaeriaClient\src\aze\motion\EazeTween.as:213]
        at
aze.motion::EazeTween$/tick()[D:\Faeria\FaeriaClient\src\aze\motion\EazeTween.as:125]


This where how I call Alert.show:
                    Alert.show(locAlertMessage, locAlertTitle,
Alert.NONMODAL, GAME, alertHandler);
GAME is a SkinnableComponent, thus UIComponent
I have looked into the Flex code, at line 352 of PopUpManagerImpl, he
decides to addChild like this:
children = topMost ? smp.popUpChildren : smp;        
if (DisplayObject(window).parent != children)
     children.addChild(DisplayObject(window));

Is this buggy...? I'm really looking to hear you, you're the only person who
seems able to bother and who knows his stuff.



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/SystemManager-seems-to-call-addChildAt-out-of-bounds-tp2701p2771.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to