The secret lies in the php code only.
Flash itself does not care

It realy depends what you realy want to do.
If it is only counters, you can do this with differnet fields in an single table.
If you want to count records, it can be deiiferent tables in the databes.
But if you are controlling different webshops or alike, you might have differnt databases.
You can manage everything with a single flash frontend.
But you have to manage somehow, that the php script knows whicht data is to be delivered.