From the yearly archives:

2008

The following example shows how you can set a linear gradient stroke on a Flex Gumbo Rect object by setting the stroke property to a LinearGradientStroke object.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can maintain a loaded video’s original aspect ratio on a Flex VideoDisplay control by setting the maintainAspectRatio property.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can determine the length of an FLV video (in seconds) using the Flex VideoDisplay control by using the totalTime property.

Full code after the jump.

[click to continue…]

{ 6 comments }

The following example shows how you can toggle data tips on the Flex HSlider control by setting the Boolean showDataTips property.

Full code after the jump.

[click to continue…]

{ 5 comments }

The following example shows how you can prevent a user from clicking on the track of a Flex HSlider control by setting the Boolean allowTrackClick property.

Full code after the jump.

[click to continue…]

{ 3 comments }

The following example shows how you can set the label offset on a Flex VSlider control by setting the labelOffset style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the label offset on a Flex HSlider control by setting the labelOffset style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the focal point on a Flex Gumbo Rect object by setting the focalPointRatio property to a value between -1 and +1.

Full code after the jump.

[click to continue…]

{ 0 comments }

Setting the origin X and Y coordinate for a radial gradient fill in Flex Gumbo

by Peter deHaan December 24, 2008

In a previous example, “Creating a radial gradient fill on a Rect object in Flex Gumbo”, we saw how you could create a radial gradient fill on a Flex Gumbo Rect object by setting the fill property to a RadialGradient object.
The following example shows how you can set the origin X and Y coordinate for [...]

Read the full article →

Creating a radial gradient fill on a Rect object in Flex Gumbo

by Peter deHaan December 23, 2008

In a previous example, “Creating a linear gradient fill on an Ellipse object in Flex Gumbo”, we saw you could create a linear gradient fill on a Flex Gumbo Ellipse object by setting the fill property to a LinearGradient object.
The following example shows how you can create a radial gradient fill on a Flex Gumbo [...]

Read the full article →

Setting the text justification on a TextBox object in Flex Gumbo

by Peter deHaan December 22, 2008

The following example shows how you can set the type of text justification on a Flex Gumbo TextBox object by setting the textJustify style to one of the static constants in the flashx.textLayout.formats.TextJustify class.
Full code after the jump.

Read the full article →

Using a custom flex-config.xml file in Flex Builder 3

by Peter deHaan December 21, 2008

The following example shows how you can use a custom configuration file in a Flex Builder Flex project by specifying an additional compiler argument, -load-config.
Full code after the jump.

Read the full article →