Disney announced quarterly profits exceeding expectations and prompting a 4% rise in its stock.