A flashbulb contains magnesium and oxygen before use and magnesium oxide afterward, but its mass does not change.