Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

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