| This class helps in copying of flash objects.
It remembers all copied objects and makes sure
that an object will not be copied twice.
All flash objects can be constant or not. Constant object is such
an object which is invariant to generator processing, for example if an
object represents some text and this text does not contain generator
variable, then this object is constant, otherwise it is considered
to be non-constant.
So when an object is to be copied it's checked whether it's a constant
or not. If the object is constant it's not copied, but rather it's reference
is used. If the object is not a constant then it is copied using the same guidelines,
i.e. if the object contains non-constant object, they will not be copied.
author: Dmitry Skavish |