morph Element

The morph element implements tweened animations. Tweened animation is effective for creating movements and shape transformations while minimizing SWF file size.

Syntax

<morph id="objectId">

    <!-- source shape -->
    <!-- target shape -->
</morph>

Attributes

Name

Description

Value type

Optional

Default Value

id

Object identifier

id

no

-

Parent Elements

objects collection

Children Elements

You should define starting and ending shapes for tweening. Using these two shapes inside morph tag ActiveSWF core will create the frames in between. The following shapes types are supported for morth.

rectangle, polygon, circle, oval, square, image

See Also

XML Schema Reference, objects collection.