1 Reply Latest reply on Jul 29, 2010 6:20 AM by eabowler

    Tile Component Created Dynamically not works

    raja abbas



      I m Flash Developer and new to Flex and Using Flash Builder 4


      i have  a tile component


      <mx2:Tile width="200" height="200" id="thumbTiles"/>


      it works for me to hold my thumbnails created and added dynamiclly


      ------>  thumbTiles.addElement(thumb)


      But i need more than one Tile Components


      when i tried to do this


      var thumbTiles:Tile = new Tile();


      and tried to add my thumbs to it by same code


      ------>  thumbTiles.addElement(thumb)


      nothing is appear to me.


      Please help me how can i do it in flex.