Anita Mui was originally cast for a major role in House of Flying Daggers. The role was to be her final film appearance. She died of cervical cancer before any of her scenes were filmed. After her death on December 30, 2003, director Yimou Zhang decided to alter the script rather than find a replacement. The film is dedicated to her memory.