Potter wrote the screenplay for "Dreamchild" (1985), a film which shared themes with his earlier "Alice" (1965) television script. In her last film role, Coral Browne portrayed the elderly Alice Hargreaves who recalls in flashbacks her childhood when she was the inspiration for Lewis Carroll's "Alice in Wonderland". Potter adapted his television play "Schmoedipus" (1975) for the cinema. The ensuing film, "Track 29" (1988), directed by Nicolas Roeg, was Potter's last filmed American project. However, Potter did provide uncredited script work on "James and the Giant Peach" (released 1995)—his chief contribution providing dialogue for the sardonic caterpillar. Potter makes a sly reference to this in "Karaoke" when the character Daniel Feeld (Albert Finney) is invited to provide dialogue for an "arthritic goat" in a children's film.