| Subcribe via RSS

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.

One Response to “Setting the default size of a Flex Skin”

  1. bcolflesh Says:

    Note to self:

    I like pancakes.


Leave a Reply

  • Who am I, you ask?

    Matt Guest is a RIA developer with a special interest in user experience design, architecture and all of the other stuff needed to build incredibly engaging Internet enabled applications.

    email: matt@mattguest.com
    aim: RIAJunkie
    twitter:mguest

    Subscribe to my feed.