# How do i add a function in as to xml

**URL:** <https://forum.kirupa.com/t/how-do-i-add-a-function-in-as-to-xml/313912>\
**Category:** Uncategorized\
**Created:** [September 13, 2010, 6:41pm UTC](https://forum.kirupa.com/t/how-do-i-add-a-function-in-as-to-xml/313912 "2010-09-13T18:41:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NavinRH](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@NavinRH](https://forum.kirupa.com/u/NavinRH)\
**Post date:** [September 13, 2010, 6:41pm UTC](https://forum.kirupa.com/t/how-do-i-add-a-function-in-as-to-xml/313912/1 "2010-09-13T18:41:23Z")

</div>

I have defined my xml tags in as3 as well created a function. How wuld i add the function to the xml tag. For exame the function ia a goto and stop at a variable frame witch will be defined in the xml. So whayever input in the xml tag will be the frame label. I juat dont know how to add tha function to the xml declaration in as3. Thnks
