Author Message

Posted: Mon May 14, 2012 1:44 am   Post subject: how to handle out of bound index error on gotoTimeStamp

hello
i'd like to know how to handle the "out of bound index" error when issuing the gotoTimeStamp command in the player. i've checked the doc but i couldn't find it, and so my slides freeze if i supply a wrong step index. can you help ?

thank you !


Profile profile test

Posted: Tue May 15, 2012 2:56 pm   Post subject: Re: how to handle out of bound index error on gotoTimeStamp

To do this, please use the "get Presentation Duration" method and do not exceed the presentation time limit.

Or you can use this code:

Code:
{
 // potential error causing code
} catch (error:Error) {
 // error of type Error occurred
 // additional catch blocks may follow
}


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 6 users online :: 2 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot], Yahoo [Bot]