oi10:presentation_server:play_method_animate

PLAY method (Animate)

Begins the playback of an animation file.

bSuccess = Exec_Method( CtrlEntID,   

                           "PLAY",      

                           Repetitions, 

                           StartFrame,  

                           StopFrame )
 
NameRequiredDescription
RepetitionsNoSpecifies the number of times to play the animation. Defaults to -1.
See the REPETITIONS property above.
StartFrameNoSpecifies the frame number from which to begin playing. Defaults to 1.
See the STARTFRAME property above.
StopFrameYesSpecifies the last frame number to display when playing a clip. Defaults to -1.
See the STOPFRAME property above.

"1" (TRUE$) if the clip was started successfully, "0" (FALSE$) otherwise.

N/A

 
// Example:

   //

   // Open an AVI file called "FileCopyXP.avi" and begin playing

   // from frames 4 to 8, with 10 repetitions

   

   $Insert Logical

   

   Call Set_Property_Only( @Window : ".ANI_COPYING", 

                           "CLIPNAME",               

                           ".\avi\filecopyxp.avi" )

 

   Call Exec_Method( @Window : ".ANI_COPYING", "PLAY", 10, 4, 8 )
 
 
 

N/A

  • oi10/presentation_server/play_method_animate.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1