Writing After Universal Studios acquired the movie rights to Firefly from Fox, Whedon began writing the screenplay.
Universal Studios got the movie rights to Firefly from Fox.  Whedon then began writing the screenplay.