Hi guys, I have managed to get data out from Mysql database.
All it returns to me are:
- Name of the button
- Where it link to
- Number of Buttons for the menu
So now, how can I build a menu of buttons such that I can display according to the database return on the number of buttons?
Can someone point me to the exactly codes on how I should do it?
I have already create a movieclip which is the image of a single button. With dynamic text on top of the button in the movieclip.
I just need to loop it thru the number of buttons and display the buttons on screen. But i can’t seems to get it right.
I have looked through the XML dynamic menu but it’s not very similar to mine as I’m using PHP script to connect to the database.