Loading Flex Skins at Runtime

The Kiwi Project: There are lots of great resources out there on how to skin your Flex applications. Quick recap: Flex supports two approaches to skinning: graphical and programmatic. Graphical skinning involves creating graphical assets in Flash, Photoshop, Fireworks, etc. and embedding them in your Flex application. Programmatic skinning involves creating an ActionScript class which defines the skin for a control. As you might guess, graphical skinning is easier, programmatic skinning more powerful.

[ Original Article ]


Conditional Row Coloring

Tim Hoff has created a grid component which allows the user to set colors conditionally through a style sheet. I can think of many good uses to this feature :).

[ Original Link ][ Demo ]

Another Flex Sample

Check out this application @ http://kss.korax.ru/index.html … Its a very good Flex example. I liked the effective use of table, charts and calendars. 🙂

Dual Slider Component

By Brendan Meutzner
Adds a “scrollbar” below the span between a dual-thumb slider which is draggable. When the drag action takes place, both thumbs are moved updating the values of each thumb equally based on the span. If desireable, you can also enable dataTips for each thumb as you’re dragging the scrollbar

[ Read more… ] [ Demo ]


I was looking around for a good date formatter script, when I stumbled across this.

[

kuwamoto.org » Flex tags and AS classes (the simple version)

One of the most powerful aspects of Flex is that it creates a simple mapping between tags and ActionScript classes. It’s a simple concept, but time and time again, I find that people who don’t know Flex have trouble understanding how this works, or why it would be useful.For those of you who are new to Flex, here are the rules, along with some simple examples to get started with this concept.

[


[Mails] $.25 to $0.25

To formnat a long from “.xx” to “0.xx”, this formatter method can be used.

function format2 ( str ):String{
var currencyFormattedString = str;
var a = currencyFormattedString.split(".");
currencyFormattedString = currencyFormattedString[0] + "0." +currencyFormattedString[1];
my_lbl.text = format2 ( "$.25" );

Courtesy: JesterXL