Arbortext IsoView > Programmer's Reference > Animation Functions > GetObjectAnimationFlags
  
GetObjectAnimationFlags
Gets information about an enumerated animation sequence of an object. Possible return values are:
1
remote event sequence
2
on load sequence
4
disabled sequence
After an illustration loads, the animation sequences it contains are in an unsorted order. This order will not change unless it is explicitly forced to by another method such as ConvertAnimationMetadata. (See ConvertAnimationMetadata.)
* 
The results of GetObjectAnimationSequenceName and GetObjectAnimationFlags are only aligned if you use the same index. (See GetObjectAnimationSequenceName and GetObjectAnimationFlags.)
Introduced with Arbortext IsoView 7.1.
Syntax
GetObjectAnimationFlagsobjIDindex
Parameters:
objID
The ID of the object this method acts upon.
index
Picks the sequence of interest. The value can be 0 or any positive number less than the result of CountAnimations. (See CountAnimations.)
strObject = "id(" + object + ")";
strInfo = "Animations of object " + strID + ":\n";
n = ivx1.CountObjectAnimations(strID);
for ( i = 0; i < n; i++ )
{
    seqName = ivx1.GetObjectAnimationSequenceName( strObject, i );
    flags = ivx1.GetObjectAnimationFlags( strObject, i );
    flags = document.ivx1.GetAnimationFlags( i );
    strInfo = strInfo + "Sequence: " + seqName + ", flags =" + flags + ".\n";
}
if ( n > 0 )
    window.alert( strInfo );
else
    window.alert( "Object does not have animations." );