Need help for simple flash game with mysql database

Hello, I need some help for my porject. I want to make a flash game that connected with mysql database.

But I have a problem here. In a simple case, in the mysql database I have “gender” field which is male or female option.

The “player” character is in the animation and I want it to show it male or female based on the database. How to create it?

Would you please give me some reference / tutorial / anything else that could help.

Thank you :slight_smile: