The program traditionally used to develop Flash games is Adobe Flash (formerly known as Macromedia Flash before Adobe acquired it).
It provided the tools for animators and developers to create interactive content, animations, and games that ran in the browser through the Flash Player plugin. While Flash has since been phased out in favor of newer technologies like HTML5, Adobe Flash was the go-to software for an entire generation of web games.