Lines Matching refs:time
164 // Illegal seek time
220 public function play(time:Number = NaN):Boolean {
223 if(!isNaN(time) && myStatus.srcSet) {
228 myStatus.pausePosition = time;
238 …if(myStatus.isLoaded && myStatus.pausePosition > getDuration()) { // The time is invalid, ie., pas…
264 public function pause(time:Number = NaN):Boolean {
266 …layOnSeek = false; // Reset flag in case play(time) issued before the command and is still seeking…
270 // To avoid possible loops with timeupdate and pause(time). A pause() does not have the problem.
272 if(!isNaN(time) && myStatus.pausePosition == time) {
284 if(!isNaN(time) && myStatus.srcSet) {
285 myStatus.pausePosition = time;
295 …if(time > 0) { // We do not want the stop() command, which does pause(0), causing a load operation.
301 …if(myStatus.isLoaded && myStatus.pausePosition > getDuration()) { // The time is invalid, ie., pas…
308 // Neither pause() nor pause(time) will cause a timeupdate loop.
309 if(wasPlaying || !isNaN(time) && !alreadyPausedAtTime) {
318 var time:Number = percent * getDuration() / 100;
320 return play(time);
322 return pause(time);