I'm not sure it helps you too much but, for what its worth, your sample works just fine with the latest trunk build of the Flex 4 SDK.
Hi Greg - There was a bug where the owner property of a SkinnableDataContainer/DataGroup was not getting set correctly, so the overridden itemToLabel() function was never getting called. This was fixed in a build post-Beta, so the example runs properly in the SDK trunk but the bug exists in the public beta builds. You can download a current SDK off the opensource Flex site and use FlashBuilder's multi-SDK feature to code against the newer SDK.
Hope this helps!
Thanks very much! That is exactly what I was looking for.
Actually, I installed SDK nightly build 22.214.171.12417 from confluenceand now I get this error:
component MotionPath is defined more than once in this namespace. Remove the mapping to spark.effects:MotionPath or spark.effects.animation:MotionPath
I have the same problem. Do you know how can I solve this problem?
The component MotionPath is defined more than once in this namespace. Remove the mapping to spark.effects:MotionPath or spark.effects.animation:MotionPath
I found a solution. I had a lib ("Efflex_v0.03.swc"), when I removed it, this error disappear.I guess this error was a conflict version between flex 3 and 4, because the lib was builder in version 3.