|
Yeah I’m pretty sure. I can trace
out the values of private member variables from within the handler fine. I can
also trace(super.id) and see the id specified in the declaritive mxml tag. Its
an mxml component and the handlers are specified in the root Label tag, so I
don’t think it is a scope problem. From: Be careful of your scope. Are you
sure that scope of the event handler isn’t the application? From: I
am making a simple Label subclass (mxml component) that
fiddles with the text color based on certain conditions. If
those conditions are NOT met, I want to use the color
that the label would have normally, after an inline color is
specified or any styles have been applied. In
an initialize event handler, I call: super.getStyle("color") But
it reports the same value(16776960) regardless of any inline specified color or
css
style. On
creationComplete, it returns a different value(16777215), but always the
same one. How
and when can I determine what the text color of the label would actually be? A
Flex 2.0 hint would be welcome as well.
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcomponents] Flex 1.5, extending Label, how/when get the ... Tracy Spratt
- RE: [flexcomponents] Flex 1.5, extending Label, how/when... Alex Harui
- RE: [flexcomponents] Flex 1.5, extending Label, how/when... Tracy Spratt
- RE: [flexcomponents] Flex 1.5, extending Label, how/when... Tracy Spratt
