1. override
void stop()

Source

@override
void stop() {
  if (_stopped == false) {
    _stopped = true;
    _paused = true;
    this.dispatchEvent(new Event(Event.COMPLETE));
  }
}