Arbortext IsoView > Programmer's Reference > Animation Functions > GetAnimationFlags
  
GetAnimationFlags
Gets information about an enumerated animation sequence. 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 GetAnimationObjectID, GetAnimationSequenceName and GetAnimationFlags are only aligned if you use the same index. (See GetAnimationObjectID, GetAnimationSequenceName, and GetAnimationFlags.)
Introduced with Arbortext IsoView 7.1.
Syntax
GetAnimationFlagsindex
Parameters:
index
Picks the sequence of interest. The value can be 0 or any positive number less than the result of CountAnimations. (See CountAnimations.)
// collect all remote-startable animations in a HTML form selection list
for ( i=0,j=0; i<document.ivx1.CountAnimations(); i++ )
{
objID = document.ivx1.GetAnimationObjectID( i );
seqName = document.ivx1.GetAnimationSequenceName( i );
flags = document.ivx1.GetAnimationFlags( i );
caption = objID + " ~> " + seqName
if ( flags=="1" )
{
document.Form1.Animation.options[j++] = new Option( caption );
}
}