Search Flex Components Free

Custom Search

June 10, 2009

What is itemRenderer in Flex?

1. Item renderers are classes that draw the view of certain components, e.g. the MenuItemRenderer class draws the view for the Menu and MenuBar components. If you wanted to change the way a menu component looked without changing it's underlying functionality, you could write a custom item renderer class for it and assign it to the components itemRenderer property. There's more info on this here:

2. By data linking, did you mean data binding? This is just a means of linking properties and variables together, so that when ones changes, so does the other.

3. The mxml gets complied into actionscript before getting complied into actionscript bytecode (in an swf). If you add the '-keep-generated-actionscript' tag to your mxml compiler, you can look at all the actionscript that gets written for you from your mxml.

4. An SWC can be used as a runtime shared library, or statically. If you use it as a RSL, then the components don't get compiled into your swf, but are loaded in at runtime, instead of all getting included in your swf at compile tim

Related Flex Tutorials