Animation Item (PRIM_ANIM.AnimationItem)

Component piece of an animation

Ancestors - Object (PRIM_OBJT)

Details

An AnimationItem is the base class for all animation classes such as Prim_anim.Move or Prim_anim.Opacity.
 
All animations are made up of one or more animation items.

Example

Simple animation that moves a button to a left position of 300 and then back to a left of 0.
Define_Com Class(#PRIM_ANIM) Name(#Animation)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step1) Left(300) Manage(#Button) Parent(#Animation) Duration(500)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step2) Manage(#Button) Parent(#Animation) Starttime(500) Duration(500)

Properties

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
DurationNumber of milliseconds to take to complete the animation
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentReference to the animation of which this item is a part
StartTimeNumber of milliseconds to wait before starting the animation

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Animation Item (PRIM_ANIM.AnimationItem)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Animation Item (PRIM_ANIM.AnimationItem)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2