0 Replies Latest reply on Jan 16, 2007 9:51 PM by frogcjn

    Icon can just only be embed?

    frogcjn
      I want to show a bitmap in a list.
      <mx:List id="myList">
      <mx:dataProvider>
      <mx:Object label="Item1" icon="{myBitmap}"/>
      </mx:dataProvider>
      </mx:List>
      But it has no effect.
      I have used an instance of some classes (such as Bitmap,BitmapAsset) ,but I failed.

      I have searched Flex Help documents. It seems that Icon can just only be emebed. You can just set this property to be a asset class.

      How can I show my bitmap in the list?