[Bindable] metdata gets retained, and so should appear in describeType()'s 
output, but [Style], [Event], and [Effect] do not. You could, however, 
recompile the framework to keep them. Look at the <keep-as3-metadata> tags in 
the Ant build.xml file for frameworks/projects/framework, for example.

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dmitry
Sent: Friday, February 05, 2010 11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to enumerate all of the available styles 
in CSSStyleDeclaration?



the way to get Style,Event, Effect and Bindable metadata from UIComponent when 
calling describeType

However, the above does not work since subclasses of CSSStyleDeclaration, 
DataGridColumn for instance, in Flex do not have [Style] metadata defined. Yet, 
FlexBuilder somehow knows about all of the available styles for DataGridColumn. 
Is there a programmatic way to retrieve these?

Thanks in advance

--- Dmitry

Reply via email to