var popUpIconClass:Class = Class(getStyle("popUpIcon"));
popUpIcon = new popUpIconClass();
In my variation, popUpIconClass is always null. The source for PopUpButton.as says:
/**
* The icon used for the right button of PopUpButton.
* Supported classes are mx.skins.halo.PopUpIcon
* and mx.skins.halo.PopUpMenuIcon.
* @default mx.skins.halo.PopUpIcon
*/
[Style(name="popUpIcon", type="Class", inherit="no")]
I'm trying to understand why it would be ok in the original class and not in the class using the same code. Is there some internal voodoo going on? Suggestions for other ways I should do this are welcome, but not really the main point of my question. I'd really like to understand why this breaks.
--
Jason __._,_.___
--
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
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
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.
__,_._,___