How does php "post" work in flash?

when i use post for a html form, it will submit all the data collected by that form as the POST array…but how does “POST” work for flash? i mean which datas will it submit…i dont actually understand this so it will be better if you can point me to some resources where i can find more information about flash+php+flat-file system.