Hope this helps.
Is there any way to convert a .exe file to a .swf file?
It is not possible due to a number of reasons, including the number of languages a program could have been written in, the inability for SWF to express all of the functionality of most applications, the inability for a SWF file to make use of many of the libraries, APIs, etc. that the executable can, the obfuscation techniques used to prevent EXE decompilation, etc.
-> The program VigneshBalasubramanian suggested can only extract SWF content from an EXE file; it cannot convert any EXE to an SWF file.
Game Maker uses its own scripting language, called GML, which is interpreted by the bundled Game Maker interpreter every time the game is executed. Conversion to SWF is not possible, and may even be prohibited to attempt, depending on the developer's TOS/licensing agreement(s).
Hoarding photos on your phone?
Those picture are hogging memory and could be slowing down your phone.