# Attaching buttons to dynamic fields

**URL:** <https://forum.kirupa.com/t/attaching-buttons-to-dynamic-fields/88046>\
**Category:** flash\
**Created:** [April 26, 2005, 11:00am UTC](https://forum.kirupa.com/t/attaching-buttons-to-dynamic-fields/88046 "2005-04-26T11:00:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![papercut](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@papercut](https://forum.kirupa.com/u/papercut)\
**Post date:** [April 26, 2005, 11:00am UTC](https://forum.kirupa.com/t/attaching-buttons-to-dynamic-fields/88046/1 "2005-04-26T11:00:53Z")

</div>

Hi there. I’m using XML to load text in dynamic textfields but want to attach a button to every field with a different link. How to position these buttons exactly behind the text fields and give them getURLs? Thanks in advance!

I’m attaching the fla & here is the xml:

> \<?xml version=“1.0”?\>

\<mp3\>

```
&lt;slot        
        thename = "Name 1"
        thelink = "sample1.mp3" 

/&gt;

&lt;slot        
        thename = "Name 2"
        thelink = "sample2.mp3" 

/&gt;

&lt;slot        
        thename = "Name 3"
        thelink = "sample3.mp3" 

/&gt;

&lt;slot        
        thename = "Name 4"
        thelink = "sample4.mp3" 

/&gt;

```

\</mp3\>
