Complex sentence: Cooper intended to quit pictures to be a housewife and mother, but Walsh's gambling and cheating were big problems for her.
Split into simpler sentences: Cooper intended to quit pictures to be a housewife and mother. However Walsh's gambling and cheating were big problems for her.