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 ]

QuickDateFormatter

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

[ Read more… ]

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.

[ Read more… ]

 

[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

[Mails] Hot Keys

Q
We have a requirement wherein the users need to have the ability to have hotkeys /shortcuts to perform certain operations, like (triggering a particular link, submiting a form ).Does Flex platform have a built macro / shortcut support to do something like this?

W

There’s no built-in support in the framework as of now. It’s been on the “nice to have” features list, but somehow didn’t make it in this release. Now, this is something you could build on your own easily though. You’d have to listen for the key events on the “system manager” object in the “capture” phase.

systemManager.addEventListener("keyUp", globalKeyUp, true /* capture */ );

You can allow the developer to then map specific keys to specific event handlers.

And so on.

Manish

Peter Ent: Writing Flex 2 Components

A really good article on creating components.

[ Read more… ]

Faces of Flex

You see the names almost daily; from blog postings to emails in the forums. I thought it would be fun to put some faces to these names. This is only a small sampling of the many heros of the community, many of the Adobe crew were on vacation so I got what I could and hope to add more ‘brand names’ of the Community as time goes on (Alistair, Sho, Abdul, etc…). The following is in no particular order…enjoy!!

[ Read more… ]