This does in fact seem to solve the dreaded “always reloading” image flash of the cell renderer. Bravo!
Flash Forever – BitmapCache:
A normal typical quick implementation of a CellRenderer that loads its associated image in it’s instance is illustrated on the left. On the right is an example of an implementation using the BitmapCache. Since the List component from MM reuses it’s cell instances for multiple items while the user scrolls, the Cell renderer instance will often need to change it’s content. When the content is text based this problem doesn’t surface, since the content is already available as it to be displayed. When using image data, you can either code something that manages loading your items bitmaps in a global stable place or you can easily solve your problems with the BitmapCache classe.
Again with the Flash embedding… some references
Accessibility: In search of… a perfect plugin technique:
Bob and I frequently field questions and read posts on lists related to the ?right? way to include Flash content in a web page. Several developers have made efforts to find a technique to do so that doesn’t break page validation, including Drew McLellan’s Flash Satay, Bobby Van Der Slius’s UFO, Geoff Stern’s FlashObject, and a nested object method provided by Ian Hickson.
How to correctly insert a Flash into XHTML – La Trine:
Final Solution The complete code will then look like this (example + validator):
<!--[if !IE]> -->
data="movie.swf" width="300" height="135">
<param name="movie" value="movie.swf" />
<param name="loop" value="true" />
<param name="menu" value="false" />
<p>This is <strong>alternative</strong> content.</p>
Maybe it’s not a brilliantly elegant solution, but it’s only truly functional solution that I have found.
it’s functional in all browsers that I know
it always show alternative content if the plugin is missing
it can be combined with Eolas workaround trick
tags <param> are not doubled