Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Scripting assistance please...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scripting assistance please...

    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

  • #2
    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

    Comment

    Working...
    X