Hi,
Thanks for the detailed report on this. The release notes had a typo,
and the reason get/setSpeed did not work is because the method is
actually get/setCurrentSpeed. The release notes will be updated
shortly with the correct syntax; thanks again for pointing this out.
In addition, these methods, like setLoop(), will only work if you have
already entered a tour -- if you attempt to call these without the
TourPlayer actually being loaded and ready, you will get an error.
Cheers,
-Josh
> * *GE API 1.009 *
> * *GE plugin 6.2.0.5905*
>
> The results of my tests are as follows:
>
> // result: FAILURE - Error calling method on NPObject!
> ge.getTourPlayer().*setLoop*(1);
>
> // result: FAILURE - geTourPlayer.getSpeed is not a function
> ge.getTourPlayer().*getSpeed*();
>
> // result: FAILURE - geTourPlayer.setSpeed is not a function
> ge.getTourPlayer().*setSpeed*(1);
>
> // result: SUCCESS - returns 0 or 1 depending on the current visibility
> of the tour player control
> ge.getTourPlayer().getControl().*getVisibility*();
>
> // result: SUCCESS - shows the tour player control
> ge.getTourPlayer().getControl().*setVisibility*(1);
> */****
> * GE API 1.009 Test functions
> */
>
> * function setLoop() {