Flash was shut down because of various issues, including security and vulnerability issues, performance issues, and the need to uninstall old versions before installing newer ones. Plus, Flash wasn’t optimized for mobile devices.