Tag Archives: ItemRenderer

Flex :: ImageCache, a cheap way to cache images

In a previous post about Ely’s SuperImage, I mentioned that we decided to implement a simpler method for caching images within a Flex application. ImageCache is a simple class file that extends the Image control by adding the ability for the control to cache bitmap data. Unlike SuperImage, ImacheCache can handled SWF files, it just [...]
Posted in AIR, Component, Flex | Also tagged , , , , | 21 Comments

Bubble ItemRenderer Events

Often times I find myself needing to bubble events from an itemRenderer to the parent control.   This is especially important when using a CairngormEventDispatcher.  Events should be used by the views, rather than having them nested within the itemRenderer.  This is commandment #10 on Jesse Warden’s post 10 Tips For Working With Cairngorm (or the way Jesse [...]
Posted in Flex | Also tagged | 24 Comments

Flex List Control with Editable InputText ItemRenderer

I think the title of this post says it all.   I needed a InputText for the label of images in my TitleList control.  I wanted users to click on the text and edit it in place.  I started out creating a simple ItemRenderer with a InputText and skinned the InputText to look like a regular [...]
Posted in Component, Flex | Also tagged , , , | 9 Comments

Using XML with DataGrid itemRenderers

For a recent project I needed a way to create a ComboBox in a DataGrid component that was populated by an XML file.   I found an older example by Brendan Meutzner that used an ArrayCollection. This was a good starting point, so I modified and added to the file to create an example that uses [...]
Posted in Flex | Also tagged , | 28 Comments