IconItemRenderer - Adobe ActionScript® 3 (AS3 Flex) API Reference
Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/IconItemRenderer...
Copy link to clipboard
Copied
It's not obvious from the docs above but this class is apparently available only within a mobile project. The page does say "The IconItemRenderer class is a performant item renderer optimized for mobile devices" but, to me, that implies that it will also work on non-mobile projects. But it won't compile. However, it appears you can work around the problem by adding mobilecomponents.swc and mobile.swc to your build paths. More info: http://devgirl.org/2011/10/19/using-flex-mobile-components-in-a-flexair-desktop-application/

