 Orson Welles (qv) said that when he agreed to play Harry Lime, he  was offered either a straight salary or a percentage of the profits.  Welles chose the salary but he later regretted it because the film  went on to become such a huge hit, the percentage was ultimately  worth far more than the salary.