How do move my game to the Server?

Hey everyone!

I’ve read around and what keeps poping up is that most people say it’s better to create which runs on the server… and just outputs the information into a Flash “client”… for online games…

It makes sense that this greatly increases security and prevents hacking… unless they hack the server.

But what I don’t understand is… how… How do I go about doing this? I have a game in Flash right now… but all the calculations,maps etc are all done in the Flash and just sent to the server to be stored… So… this is very unsecure right?

How exactly can I start this off? Do they really “litterally” mean to move my flash game onto a server and the Flash Client communicates with that… Or…

Does the client only send simple instructions like “move here”, and the server moves the character then sends the results back?

lol I’m really confused on this…

Hope someone can make some sense of this!