| 879 | tl.getChildren(true, false, true).forEach(_interrupt); |
| 880 | }, |
| 881 | _killFlip = function _killFlip(tl, action, force) { |
| 882 | // action: 0 = nothing, 1 = complete, 2 = only kill (don't complete) |
| 883 | if (tl && tl.progress() < 1 && (!tl.paused() || force)) { |
| 884 | if (action) { |
| 885 | _interrupt(tl); |
| 886 | |
| 887 | action < 2 && tl.progress(1); // we should also kill it in case it was added to a parent timeline. |
| 888 | |
| 889 | tl.kill(); |
| 890 | } |
| 891 | |
| 892 | return true; |
| 893 | } |
| 894 | }, |
| 895 | _createLookup = function _createLookup(state) { |
| 896 | var lookup = state.idLookup = {}, |
| 897 | alt = state.alt = {}, |