Gamesalad is a closed platform. You can do just what the developers implemented.
This platform is for games so I don't think there is any way to control hardware especially the Flashlight.
All actions that could be preformed are suppose to be under Library -> Behaviors, but those are related to the game engine itself (in-app purchase, share with twitter and game flow control).