1 Reply Latest reply on Jul 5, 2011 6:50 AM by SunilRana_Gateway

    RangeError: Error #2006: The supplied index is out of bounds when roll over on Tooltip?

    SunilRana_Gateway

      My project having extended TitleWindow where we applied Tooltip in mx_internal::

       

      use namespace mx_internal;

       

       

       

       

       

       

      closeButton.$width = 13;

      closeButton.$height = 14;

       

      closeButton.toolTip = ResourceManager.getInstance().

      getString('Forwarding','CLOSE');

       

      so i am getting error RangeError: Error #2006: The supplied index is out of bounds.
      at flash.display::DisplayObjectContainer/addChildAt()

      at mx.managers::WindowedSystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()

       

      [E:\dev\4.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:2030 ]
      at mx.managers::WindowedSystemChildrenList/addChild()[E:\dev\4.x\frameworks\projects\airfram ework\src\mx\managers\WindowedSystemChildrenList.as:125]
      at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::createTip()[E:\dev\4.x\frameworks\projects\fra mework\src\mx\managers\ToolTipManagerImpl.as:921]
      at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::showTimer_timerHandler()[E:\dev\4.x\frameworks \projects\framework\src\mx\managers\ToolTipManagerImpl.as:1608]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

       

       

       

      Thanks

      Sunil