I'm at level 1317 and it's repeatedly failing after long strings of candy explosions. Very frustrating as I have come close to beating the level many times only to have the game get stuck.
If the game is freezing then more often that not its related to your laptop or flash player. Check that you don't have a lot of other programs open and also check that your flash player is up to date. This should make the game run nice and smooth.