all groups > flash actionscript > october 2005 >
You're in the

flash actionscript

group:

Colors in List componentt?


Colors in List componentt? Richard Ragon
10/23/2005 1:42:00 PM
flash actionscript:
Is there a way to color different items placed in the list component?

Thanks
Re: Colors in List componentt? unAbacus
10/24/2005 8:38:54 AM
if you are using Flash MX 2004 - i don't know for 8 - but type this in to the
actionscript help search box "Customizing the List component" - you can make
odd lines one colour and even lines another - but i don't think you can give
each element a different colour.

If you have flash pro you can customize the Tree component to have different
icons. The Tree component was the reason why i first posted here last year.. as
i wanted to make dynamic tree icons... but doesn't look like its possible.

The tree comp is probably a bit too different to the list componenet for your
needs, but i think, apart from developing your own list componenet (which isn't
too hard) thats the only other option. unless someone is gonna tell me flash 8
comes with a new set of funky components and i'll have to eat my hat again :D
Re: Colors in List componentt? Richard Ragon
10/25/2005 10:23:39 AM
[quoted text, click to view]


I have flash 8, and it still has the same old mx components. I've
already got the alternating colors going.. But, I need a way to color
lines based on data.

Thanks
-Richard
AddThis Social Bookmark Button