Sorry if this is too recent, but back when I was first getting into programming in ~2002-2004, there was some Flash/SWF-to-EXE tool that provided ActionScript bindings to Windows desktop APIs. Does anyone know what that tool might have been called?
I would have used it with Macromedia Flash MX 2004 or maybe Macromedia Flash 8
Google-ing has been fruitless thanks to the recent death of Flash.
flashplayer.exe
out there which might be used for this just by adding/linking it and your swf file into single executable (resources) and calling it with argument from there .... but that is just my wild guess – Spektre Jan 20 at 15:48