# Menubuttons in Flash with variable text and url from php

**URL:** <https://forum.kirupa.com/t/menubuttons-in-flash-with-variable-text-and-url-from-php/168599>\
**Category:** Uncategorized\
**Created:** [November 8, 2005, 4:35pm UTC](https://forum.kirupa.com/t/menubuttons-in-flash-with-variable-text-and-url-from-php/168599 "2005-11-08T16:35:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenorsax](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tenorsax](https://forum.kirupa.com/u/tenorsax)\
**Post date:** [November 8, 2005, 4:35pm UTC](https://forum.kirupa.com/t/menubuttons-in-flash-with-variable-text-and-url-from-php/168599/1 "2005-11-08T16:35:10Z")

</div>

Hello there,  
I’m struggling with a little problem, maybe anyone can tell me if it’s possible to do, and how.

I have a flash button with a dynamic textfield and named it text  
In php a use a loop to produce a menu with several instances of that button with different texts on it. So far so good; that works…  
But is it possible to give each button a different url and maybe target???I have variables in php that get this from a database.  
But how do I get it in Flash??

If anyone cold help me it would be great!!

Jan
