1 Reply Latest reply on Jul 30, 2011 9:35 AM by Shongrunden

    DefaultListEffect error

    Benoitcn Level 1
      I use defaultListEffect on TileList conpoment.
      The error is " Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one. "
      My code is
      <mx:TileList id="contentList" visible="true" width="76%" height="66%" horizontalCenter="0" bottom="10"
      horizontalScrollPolicy="off" verticalScrollPolicy="off" verticalAlign="middle"
      maxColumns="3" maxRows="5"
      rowHeight="{contentList.height*0.20}" columnWidth="{contentList.width*0.33}"
      itemsChangeEffect="{DefaultListEffect}"
      contentBackgroundAlpha="0" borderAlpha="0" useRollOver="false"
      dataProvider="{new ArrayList(['1','2','3','4','5','6','7','8','9','10', '11','12','13','14','15'])}">

       

      </mx:TileList>