2007年8月27日 @ 10:38
Named Colors In Flex
Named Colors In Flex
Have you ever run into the scenario where you are using data from a legacy html-based system in a flex application, and you have data that isn't really formatted for flex? I have, and it can get to be quite annoying sometimes, but there is always a workaround. Well, in this case I needed to convert web-named colors into their numeric equivalient. I created a simple util class that allows you to do a lookup by name (non case sensitive) to convert the named color to its numeric equivalent. It also allows you to pass in a numeric value and get a hex string out of it. It's actually pretty handy, and I figure others can benefit from using it too, so here it is... Feel free to contact me with any questions or comments at andrew.trice[ at ]cynergysystems.com. Enjoy!
Filed under: 资料 · Tags: flex color
Articles related:
Flex 2 Metadata Tags (2007-8-14 16:33:24)
Cube Wallpaper - AS3 and Flex API Posters (2007-8-14 16:24:51)
Free ID3Stream and ID3Reader Components for Flex 2 (2007-8-14 15:51:47)
Free AutoScroll Component for Flex 2 (2007-8-14 15:40:21)
IconUtility Component for Dynamic Run-Time Icons (2007-8-14 15:21:7)
Flex 2.0.1 ComboBox with icon support (2007-8-2 11:2:41)
SpringGraph Flex Component (2007-8-2 10:15:37)
Flex 2.0.1 Rating Component (2007-8-2 10:9:14)
Creating Resizable and Draggable Flex Components (2007-6-20 15:3:3)
stage 无法响应resize事件问题 (2007-6-19 17:59:23)
Leave a Comment
◎welcome to give out your point。
