How can I establish connection of a Flash site with a database(i.e. MYSQLetc)?
I had to do this for a college project I did before and you can easily do it with the URLLoader and URLVariables functions by stocking up your variables and sending them to a page or recieving the variables and then taking them out of the URLVariables function.
However if you were to be passing arrays or dynamically chosen variables then you would need to pass all of your data as a comma seperated string and then parse through it on the other side and vice versa.
I'll try to post some actual code when I get home but I hope this helped
You cannot connect to a database server directly from flash. To communicate with the database you need a webservice.
If you need to pass the Data from Flash to Database , for example Registration information , then follow the Tutorial
I assume you have knwoledge of Server Side Scripting like PHP or C#
There is a project called assql that connects Flash directly to the database but is aimed at AIR projects. AMFPHP is good for using php to save to the database from AS3.