Monday, January 31, 2005

Controlling Captivate Movies

Controlling Captivate Movies


Jim Leichliter just posted the information we have all been waiting for ...


... on the Macromedia Authorware forum. I must confess that if I had taken the time to explore a Captivate movie I could have discivered this already, but ... well Jim is obviously a better man than I.

Here's what he had to say:-

In Authorware using the syntax:

CallSprite(@gotMovie, #GetVariable, "_root.rdinfoCurrentSlide")

Where "_root." can be prefixed to these listed variables:

rdinfoFrameCount
rdinfoSlidesInProject
rdinfoFPS
rdinfocurrFrame
rdinfoCurrentFrame
rdinfoCurrentSlide
rdinfoCurrentSlideInProject
rdinfoSlideCount
rdIsMainMovie

________________________
rdcmndGotoFrame
rdcmndResume
rdcmndPause
rdcmndPrevious
rdcmndNext
rdcmndRewindAndStop
rdcmndRewindAndPlay
rdcmndGotoFrameAndResume
rdcmndNextSlide
rdcmndInfo
rdcmndExit


The rdcmnd can control the Captivate movie by using the SetVariable syntax and providing a 1 (true) or 0 (false). For Example:-

CallSprite(@gotMovie, #SetVariable, "_root.rdcmdResume", 1)

will resume the Captivate movie after it has been paused.

Nice one Jim!!


No comments: