PDA

View Full Version : Scripting assistance please...



sumotherdude
10-16-2005, 01:34 PM
Can someone help me with scripting?

I'm working on a project where I want to set up buttons that will be linked to the Media Player plugin - when a button is clicked, the appropriate video is played.

There used to be a good example of this in an older version of the program but I can't remember how to script it...

John

yosik
10-16-2005, 05:04 PM
just put a media plugin object on the page and have the following actions in the onClick event of your button:

MediaPlayer.Load("Plugin1", "AutoPlay\\Videos\\MyVid.mpg");
MediaPlayer.Play("Plugin1");

Good luck

Yossi