This demostrates the masking possibilities. In this example to two masks
are defined with one masking an image and the second masking a second sprite
(Movie clip). The corresponding example: MaskedSprite.py
This uses the rotation functionality of the display item place shapes into the correct locations. Each solution
is individual defined and split into individual shapes. As a solution is scanned, shape objects are
created that provide information about the rotation and mirror-ness of the shape in the particular solution.
This makes it possible to rotate the individual shapes into position. It also makes it possible to move the
shapes from one solution to the next, each shape has its own display item.
This uses the followPath method to make a shape follow a specific path. In this case, it's a
a set of directions overlayed on a streetmap.
Basis for the SWF is an SVG which defines the background image and the paths of the individual
The example also shows that it's possible to rotate the shape that is following the path, and it's also
possible to add alhpa values so that the underlining street names are still visible. All colours and shapes
are defined in the original SVG.
The background image was taken from Stadtplandienst.de.