attach sprite (or similar) as icon to list control


hi all

 

i have been looking @ examples such http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=livedo cs_parts&file=00000582.html

 

and

http://blog.flexexamples.com/2007/08/17/displaying-icons-in-a-flex-list-control/

 

both of have function returns class - , icon attached.

 

i have arraycollection contains labels , colors. have labels added list control, , have beside each label box filled color arraycollection.

 

however above examples lead me believe have dynamically create bitmap based on color value. seems rather ineffecient way of doing it.

 

can suggest easier more effecient approach?

 

many thanks



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

RFID-RC522 with Arduino Pro Micro project. Error on the code?