Copy link to clipboard
Copied
The question suggests itself - "What is it you don't understand about initialization?"
Attached file demonstrates the Subject Line.
Thom set me straight on the ' marks. Gilad said my example works for him. It works for me, now, with the exception of the first execution. Which suggests I'm missing an initialization/activation construct? Here's the code:
//
var aRM = this.getAnnotsRichMedia(0); // var used to ID any Clip on first page (PDF document page# minus 1)
//
var rm = aRM[1]; // get rich media annot for Second Clip [RM List Position# minus 1]
//
if ( !rm.activated ) rm.activated=true; // activate the Clip-annot
//
//
app.setTimeOut ('rm.callAS("multimedia_play")', 2000 ); // Play Second Clip, after 2000 milliseconds
//
Insights solicited.
Thanks,
BR
Have something to add?