Lines Matching defs:play
109 play(myStatus.pausePosition); // Must pass time or the seek time is never set.
146 if(Math.abs(getDuration() - getCurrentTime()) < 150) { // Testing found 150ms worked best for M4A files, where playHead(99.9) caused a stuck state due to firing with ~116ms left to play.
184 myStream.play(myStatus.src);
212 public function play(time:Number = NaN):Boolean {
236 if(wasPlaying) { // For when playing and then get a play(huge)
260 myStatus.playOnLoad = false; // Reset flag in case load/play issued immediately before this command, ie., before onMetadata() event.
261 myStatus.playOnSeek = false; // Reset flag in case play(time) issued before the command and is still seeking to time set.
324 return play(time);
398 if(myStatus.pausePosition > 0 ) { // Important for setMedia followed by play(time).
399 play(myStatus.pausePosition);
401 play(); // Not always sending pausePosition avoids the extra seek(0) for a normal play() command.
404 pause(myStatus.pausePosition); // Always send the pausePosition. Important for setMedia() followed by pause(time). Deals with not reading stream.time with setMedia() and play() immediately followed by stop() or pause(0)