Main Examples Page

Previous Example
Text Segments Example

Next Example
Shape Origin Example


Shape Fill Examples

View as XML

View as HTML

Illustrates the options available when specifying fills for shapes. In the first 2 examples we see that, by default, line styles have a higher z-order than fill styles. Fill styles with a higher index will be drawn over those fill areas with a lower index. In the third example, we see that in order for a fill style to have a higher z-order than a line style, it must be declared in a newer style table. As the SWF format permits lines to specify fills on both sides of the line, in the lower three examples we illustrate how the previous examples can be optimized to attain the same effects.


Previous Example
Text Segments Example

Next Example
Shape Origin Example