1 Reply Latest reply on Feb 5, 2010 3:54 PM by Joe ... Ward

    Sending items between TileList

    el_kolo

      I have a two TileList. I click on item (Image) in one TileList and I want to send this image to second TileList. I have embedded images to first TileList but they don't appear in the second.

       

      TileLists.JPG

       

      In first TileList I am using ArrayCollection as a dataProvider, which cointains embedded images:

      F.e.:

      [Embed(source="assets2/pic.png")]
      private var Asset1:Class;

       

      private var arrayDP:Array=([{name:"PIC", imgName: Asset1}])

      In second TileList:

                          <mx:TileList>

                               <mx:itemRenderer>
                                              <mx:Component>
                                                  <mx:Image source="{data}"/>
                                              </mx:Component>       
                                      </mx:itemRenderer>

                          </mx:TileList>

      Why images do not appear in secon TL?