Giving URLs to the dynamically created buttons

In the there is a dynamically created movie clip a navigation menu but i just can’t find out how to give URL to the buttons dynamically created can someone show me how?thanks