Posts tagged as:

blockProgression

The following example shows how you can set the block progression on a Flex Gumbo TextView by setting the blockProgression style to one of the static constants in the BlockProgression class (flashx.textLayout.formats.BlockProgression).

Valid values for the blockProgression style are:

  • “tb” (BlockProgression.TB): Top to bottom. Lines are laid out horizontally starting at the top of the container and progressing down to the bottom. Used for horizontal text. (Default)
  • “rl” (BlockProgression.RL): Right to left. Lines are laid out vertically starting at the right edge of the container and progressing leftward. Used for vertical text, for instance, vertical Chinese or Japanese text.

Full code after the jump.

[click to continue…]

{ 0 comments }