I have created a custom component that derives from Box. I have added a couple of style decarations within the code for the component. The following is an example:
[Style(name="headingFontColor", type="uint", format="Color", inherit="no")]
...and then I access this using getStyle("headingFontColor"), well, I wrap that with a default value function but that is the cut of it.
So it works if I set the style within the component tag in the MXML like this:
<uiComponents: AnswerButtonPanel headingFontColor="0xFF0000" />
but if I try to set it as such:
<mx:Style>AnswerButtonPanel</mx:Style>
{
headingFontColor:#FF0000;
<!-- I have also tried "#FF0000", 0xFF0000 and "0xFF0000" here, as per some examples that I have found, but none work -->
}
it doesn't get set. Do I have to do something to get this functionality?
Thanks for your help in advance.
Graham
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool | Software development | Software development services |
Home design software | Software development company |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___