So there are two parts to this. I'm reiterating your replies:
1. Get a reference to a component at runtime via code and providing a list
of all applicable styles just like design time displays in the property
inspector.
A: this is not possible to get all the styles of a component unless the
Good question, ask on the FlexBuilder forum.
On 6/26/10 8:28 PM, dorkiedorkfromdorkt...@gmail.com
dorkiedorkfromdorkt...@gmail.com wrote:
[Attachment(s) #TopText from dorkie dork from dorktown included below]
So there are two parts to this. I'm reiterating your replies:
1. Get a
How do you get a list of all styles that a component supports?
var buttonStyles:Array = getStyles(buttonComponent);
var containerStyles:Array = getStyles(borderContainer);
The follow up question to this is there a recommended api to get the
computed style for that component instance?
JP
Styles are defined by metadata and further controlled by the theme and skin.
You’d probably have to retain metadata to introspect at runtime.
I’m not sure I understand the last question. getStyle() would return the
computed style.
On 6/25/10 5:38 PM, dorkiedorkfromdorkt...@gmail.com
4 matches
Mail list logo