Three steps turn threat into a flow activity
The book names unselfconscious self-assurance, attention on the world and the finding of new solutions. A pilot succeeds by fitting herself to the plane's rules and to the air, without trying to force the plane.
From Csikszentmihalyi, 1990, ch. 9. Csikszentmihalyi, M. (1990). Flow: the psychology of optimal experience. New York: Harper & Row. (Edition of the copy read not established: the text file has no title or copyright page. Open Library gives 1990, Harper & Row, as the first edition; the Harper Perennial paperback of 1991 is ISBN 978-0-06-092043-2. No DOI.)