Setting the default size of a Flex Skin
September 8th, 2008 Posted in Development, Flex
The web serves as my long term memory these days, so when I can’t find something fast enough via google, I need to post it here.
Here’s a quick post to remind myself in the future that the measure() function resides in UIComponent. Since ProgrammaticSkin extends FlexSprite and doesn’t have a measure function to override, you have to override get measuredWidth() and get measuredHeight() in order to define the a default size of a skin.
Subscribe to my feed.



September 9th, 2008 at 3:08 am
Note to self:
I like pancakes.