Update script below as previous one only went to specified slide, if you actually want it to go to a specified slide and then play that slide and next slide(s) then you need to replace "xplain.goto(3,true);" with "xplain.play(3);"
Simon_Dismore wrote: ↑Fri Jun 26, 2020 7:44 amDid you work that out from reverse engineering the output? The documentation for xplain.play() says "This takes no parameters."
That was the information I had when I originally wrote the documentation. New information from Alexander is now that this can be used and is actually needed if you also want to play. An xplain.goto(slide) followed by an xplain.play() won't work because the methods are asynchronous.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Simon_Dismore wrote: ↑Fri Jun 26, 2020 7:44 amDid you work that out from reverse engineering the output? The documentation for xplain.play() says "This takes no parameters."
That was the information I had when I originally wrote the documentation. New information from Alexander is now that this can be used and is actually needed if you also want to play. An xplain.goto(slide) followed by an xplain.play() won't work because the methods are asynchronous.
Thanks, that's a classic example of an API evolving without the docs being updated. Would it make sense to ship uncompressed versions of the HelpXplain js files along with the product? A write-up of the XML might be useful, too.
Last edited by Simon_Dismore on Sat Jun 27, 2020 9:21 am, edited 1 time in total.