How much of that is due to The LEGO Movie revenue?
Well it only beat Mattel by a tiny amount, 2.03 billion to Mattels 2 billion for the first half of the year. Since sales in the 2nd half of the year are much higher because holidays, Mattel can still retake the lead. The movie helped boost sales a lot but the money Lego gets from the movie is mainly in the sale of the related sets. They don't get the 500 million the movie made in theaters, nor does it count towards earnings. Lego sales have doubled in China this year. Also since friends was released, Lego sales to the female demographic have tripled.
Mattel bought megablocks this year so we shall see what direct competition brings.