Displaying icons in List control

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Displaying icons in List control

    Hi everybody?
    I am trying to display icons in List control:

    <mx:List id="wEuropeList" width="100%" height="100%" color="blue"
    dataProvider="{wEuropeXML..client.@label}"
    change="changeHandler(event)"
    borderThickness="0" iconField="{wEuropeXML..country.@flag}"/>

    I know I am an idiot but please help me to make it work?.
    Thanks



    willkanoff Guest

  2. Similar Questions and Discussions

    1. Icons in people list
      Hello everyone I am a little stuck on something I have trying to do for about a week now. I want to try and figure out how to add an icon or...
    2. displaying file list in browser
      How do you create a tree control that displays your computers folders and files? Should be similar to the control that is in the ColdFusion...
    3. 1st element not displaying in a List Box
      Hi, I'm trying to populate a list box with items from a db based on selection from a combo id. If there are 2 elements, the 1st is getting left...
    4. Control panel icons not loading
      When I enter into the control panel folder and select an icon such as "display" it seems to load and then turns of immediatley. Any help?
    5. View Menu selection options (Large icons, Small icons, List, Details or Thumbnails)
      In the View Menu option of the File Save or File Open menus (4th icon to the right of the Save In or Look In drop-down boxes) Acrobat 5.0 gives you...
  3. #2

    Default Re: Displaying icons in List control

    Icons are not natively set to allow runtime images. So trying the method you
    are now won't work just because by default when your Flex application compiles
    it looks for that icon to embed with it. There are two ways you can essentially
    get around this. A) is best described by Ben Stucki with his post
    [url]http://blog.benstucki.net/?p=42[/url] B) would be to use an itemRenderer that uses an
    Image Control and pass the source to that. Either one should do the trick. Hope
    this helps.

    Kaotic101 Guest

  4. #3

    Default Re: Displaying icons in List control

    Thanks a lot!
    willkanoff Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139