[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

[Virtools] Web Player Command ActivateScript



Hello

I'd like to activate a script from a web page. In the MiniSite I've found an
exemple of the syntax and I've added the option of Reset, but the player
doesnt'care about it
---------------
function StartTheScript(ObjectName,ScriptName,reset)
{
    var cmd = "ActivateScript" + " '" + ObjectName + "' " + "'" + ScriptName
+ "' " + " '"  + reset + "'" ;
    var res = document.VirtoolsATL.DoCommand(cmd);
}

<a href="javascript:StartTheScript('Level','navigation',['1'])">restart</a>
--------------
Please, if someone have an explication, I would appreciate to know it.
Thanks

...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................


Follow-Ups: