The MAG flake alone is OK, but combined with mag sulfate (Epsom salt) is even better. Epsom salts alone is not a good way to go, IMO.
I compare the different DIY recipes here:
Do-It-Yourself Magnesium Supplements for the Reef Aquarium
http://reefkeeping.com/issues/2006-07/rhf/index.php