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).
Roku Streaming Stick 2016
Roku has the most apps, the simplest interface and the best search, making it CNET's favorite way to stream Netflix, Amazon, Hulu, HBO and all the rest.