Help with inicial start :)

Hi guys :slight_smile:

This is my 1st post, im making a game in ruby using gosu (a game framework for ruby) but im thinking in make it in flash so i can run it on desktop (air) or web(flex/flash) with the same code, and im planing some more things that flash will help alot because gonna be alot more integrated with the site.

So im not new with ruby but im nb with flash/as XD
I have some questions:

1 - Its possible to make a sidescroller 2d with flash, connection with database (mysql maybe) and multiplayer?

2 - I was thinking in make a data file so when you can target to the file to use the data inside or dont use it and download the data dynamic from website, this is possible? and after i download a sprite, this sprite stay in my computer cache?

3 - Flash is safe? People can decript it and take out my source?

4 - How Flash can interact with Ruby? Its from AMF protocol right?

5 - Its fast? how it interact with i dont know 100 players, 1000 players…?

The idea is a website with a forum, cash shop system, simple blog and the game, all inside the website and have the game version to download (air).
All the frontend is gonna be build in flash and the backend in ruby (maybe not the game if i cant interact it with the ruby).

Thanks Guys :slight_smile: