Hey..
I have created a global instance of a Container  - Panel, and tried adding it 
to one of the files in my application as addChild(model.panel);
here model is the instance of a singleton class in which i create global 
variables and panel is such a variable. 
but this addChild(model.panel) throws exception 
RangeError: Error #2006: The supplied index is out of bounds.   at 
flash.display::DisplayObjectContainer/addChildAt()   at 
mx.core::Container/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:2206]
    at 
mx.core::Container/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:2140]
      at 
rarf.views::ProjectSummaryDetailsView/ShowCalendar1()[D:\Invision\Works\RARFClient\src\rarf\views\ProjectSummaryDetailsView.mxml:1058]
       at 
rarf.views::ProjectSummaryDetailsView/__appDeadlineCalIcon_click()[D:\Invision\Works\RARFClient\src\rarf\views\ProjectSummaryDetailsView.mxml:1328]

Can anybody help me on this.. ?? 

Regards...
Sony


      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Reply via email to