setFrameNumber
Top  Previous  Next

setFrameNumber ( integer Sequence, integer Frame)

Use this function to set the frame pointer in the sequence to the specified frame. If the sequence is visible, the frame will be displayed in the sequence window.

Parameters
 
Sequence  
 
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.  
 
 
Frame  
 
A positive integer specifying the number of the frame to be set as the current frame.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements grabs a sequence from the video device and plays it backwards at a slower rate:  
 
grabSeq(1, 20, 0)  
seqPlay(1,SQ_STOP)  
for i=getFrameCount(1) to 1  
setFrameNumber(1,i)  
wait(500)  
next