3 Replies Latest reply on Jun 30, 2011 5:37 AM by nenain

    truncation behavior bug with spark Label component.

    nenain

      Hello,

       

      when we use truncation behavior (maxDisplayedLines) with spark Label component (air & flash) we have a beautifull window bug report :

       

       

      ReferenceError: Error #1069: Property -1 not found on __AS3__.vec.Vector.<flash.display::DisplayObject> and there is no default value.

       

      at spark.components::Label/truncateText()
      at spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()
      at spark.components.supportClasses::TextBase/updateDisplayList()
      at mx.core::UIComponent/validateDisplayList()
      at mx.managers::LayoutManager/validateClient()
      at mx.core::UIComponent/validateNow()
      at mx.controls.dataGridClasses::DataGridBase/updateRendererDisplayList()
      at mx.controls.dataGridClasses::DataGridBase/drawItem()
      at mx.controls.dataGridClasses::DataGridBase/drawVisibleItem()
      at mx.controls.dataGridClasses::DataGridBase/makeRows()
      at mx.controls.dataGridClasses::DataGridBase/makeRowsAndColumns()
      at mx.controls::DataGrid/makeRowsAndColumns()
      at mx.controls.listClasses::ListBase/makeRowsAndColumnsWithExtraRows()
      at mx.controls.listClasses::ListBase/updateDisplayList()
      at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()
      at mx.controls::DataGrid/updateDisplayList()
      at mx.core::ScrollControlBase/setScrollBarProperties()
      at mx.controls::DataGrid/configureScrollBars()
      at mx.controls.listClasses::ListBase/updateDisplayList()
      at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()
      at mx.controls::DataGrid/updateDisplayList()
      at mx.controls.listClasses::ListBase/validateDisplayList()
      at mx.managers::LayoutManager/validateDisplayList()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()

       

       

       

       

      Any idea ??

       

      SDK 4.0 to 4.5.20967

       

      Sylvain