0 Replies Latest reply on Feb 19, 2007 6:27 AM by sutuy

    scroll make image itemrenderer lost

      i have write this code to show my image set in datagrid.
      <?xml version="1.0"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">

      public var initDG:Array = [
      {Artist:'Pavement', Cover: 'albums/brighten.jpg'},
      {Artist:'Megumi, Cover: 'albums/nice.jpg'}

      <mx:DataGrid id="myGrid" dataProvider="{initDG}" rowHeight="50">
      <mx:DataGridColumn dataField="Artist"/>
      <mx:DataGridColumn dataField="Cover">
      <mx:Image height="45"/>

      it works properly, the picture was showed. but, when the "scroll" appear (because the big number of data) and i scroll down and then scroll up again. the images were disappear (like broken link). anyone know my mistakes?