Archive for January 31st, 2008

31
Jan

Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights

The following example shows how you can reduce the amount of whitespace around a PopUpButton control’s pop up menu by setting the variableRowHeight property on the menu in Flex.

Full code after the jump.

Continue reading ‘Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights’

31
Jan

Setting the corner radius on a Flex PopUpButton control

The following example shows how you can set the corner radius on the PopUpButton control in Flex by setting the cornerRadius style.

Full code after the jump.

Continue reading ‘Setting the corner radius on a Flex PopUpButton control’

31
Jan

Setting the vertical gap between a Flex PopUpButton control and its pop up menu

The following example shows how you can set the gap between a PopUpButton control and its pop up menu in Flex by setting the popUpGap style.

Full code after the jump.

Continue reading ‘Setting the vertical gap between a Flex PopUpButton control and its pop up menu’

31
Jan

Determining whether a font has specific glyphs in Flex

The following example shows how you can check whether an embedded font has a specific glyph by passing a string to the hasGlyph() method which returns a Boolean value indicating whether the font has the specified character(s).

Full code after the jump.

Continue reading ‘Determining whether a font has specific glyphs in Flex’