Skip to content

FreeAfterPlaying

Frees a demand-loaded animation's artwork each time an animation of the type is removed.

Specification
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

The flag has an effect only on a DemandLoad=yes animation.

Each time an animation of the type is removed, however it ended, the type frees its artwork. The next time any animation of the type is drawn, including one that is still playing, the shape is read from disk again.

Set FreeAfterPlaying=yes only on a rarely played animation. On a common one, every animation of the type that ends makes the next draw of the type read the shape from disk again.

Only the type an animation ends as frees its artwork. An animation that has chained through Next= frees the artwork of its last type, and the earlier types in the chain keep theirs.

Animation shape covers shape ownership and loading.

See also — DemandLoad, Image, Next