Back story: I\'m planning to implement a casual game to be deployed in a webapp, but I don\'t want to use Flash, instead just plain Javascript. One benefit of Flash that I would
Use AJAX to have your game verify against server code you control. This is also useful if the game is multi-player in someway. Verification prevents someone from changing the code in order to cheat.
Also Flash is not immune at all from being taken by someone else. People can download the binary and post it wherever they want. And Flash de-compilers do exist and are quite effective.