I am develpoing an extension for Illustrator CS5 and I want to be able to use the Spark datagrid component. I am developing on Flash Builder 4.6. For this, the compiler sets the sdk to extension builder 3.4. I am not able to use the spark component even after including the namespace xmlns:s="library://ns.adobe.com/flex/spark"
But, if I remove support for CS5 and have an extension for CS6 and above and change the compiler settings to support extension builder 4.5 sdk, then the spark components are recognised.
Why can't I include spark components for my CS5 extension?
Sparx components were introduced with Flex SDK 4.0; this is the reason why you can't include in a CS5 extension. Extension Builder SDK 3.4 is based on Flex SDK 3.x series
I hope this could help.