Professional Web Applications Themes

tree icons - Macromedia Flex General Discussion

I would like some non-standard icons in a tree. I can find all kinds of examples when the tree is internal, but how does one do it when the tree is an external xml file. Thanks...

  1. #1

    Default tree icons

    I would like some non-standard icons in a tree. I can find all kinds of examples when the tree is internal, but how does one do it when the tree is an external xml file.

    Thanks
    thephantom6969 Guest

  2. #2

    Default Re: tree icons

    Do you mean the symbols?? If so, perhaps you should checkout info about
    skinning :) - it's possible to use adobe photoshop to open components like the
    tree - and then replace the icons with ur own icons.. and after importing the
    style into flex..

    not sure if this is what you meant though.

    Benji2008 Guest

  3. #3

    Default Re: tree icons

    The source of the data should be irrelevant.

    Use iconFunction() to set the icons. What difficulty are you having?

    Tracy
    ntsiii Guest

  4. #4

    Default Re: tree icons

    Yes, I have been able to get the icons in the leafs but not the nodes.
    thephantom6969 Guest

  5. #5

    Default Re: tree icons

    Post your iconFunction.
    Tracy
    ntsiii Guest

  6. #6

    Default Re: tree icons

    Here it is
    <mx:Tree id="tree"
    defaultLeafIcon="Embed('Icons/LectureIcon.gif')"
    dataProvider="{dp}"
    iconField="icon"
    labelFunction="tree_labelFunc"
    showRoot="false"
    showEffect="{zoom}"
    hideEffect="{zoom}"
    width="100%"
    height="100%"
    itemClick="tree_itemClick(event)"
    />



    thephantom6969 Guest

  7. #7

    Default Re: tree icons

    No, that is the Tree declaration. You are not using an iconFunction() but need to. or perhaps the setIcon() method

    See the docs.

    Tracy
    ntsiii Guest

  8. #8

    Default Re: tree icons

    Tracy,

    I found an example of what I want on Peter D's site. I now have images all over the tree.
    Thanks
    thephantom6969 Guest

Similar Threads

  1. Rendering Tree icons
    By UmFlex in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: May 16th, 07:03 PM
  2. Custom tree icons
    By tiagoafpereira in forum Macromedia Flex General Discussion
    Replies: 6
    Last Post: April 4th, 06:19 PM
  3. Specifiy Tree Menu icons in XML?
    By tgm2002 in forum Macromedia Flash Data Integration
    Replies: 1
    Last Post: August 9th, 06:21 PM
  4. View Menu selection options (Large icons, Small icons, List, Details or Thumbnails)
    By John_Wynne@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 0
    Last Post: May 7th, 02:35 PM
  5. Tool Palette Icons Won't Show Additional Icons
    By Isabel Cutler in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 2
    Last Post: July 21st, 04:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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