# Get hyperlink from xml on flash buttons

**URL:** <https://forum.kirupa.com/t/get-hyperlink-from-xml-on-flash-buttons/304535>\
**Category:** Uncategorized\
**Created:** [February 9, 2010, 3:48pm UTC](https://forum.kirupa.com/t/get-hyperlink-from-xml-on-flash-buttons/304535 "2010-02-09T15:48:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pearsont74](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@pearsont74](https://forum.kirupa.com/u/pearsont74)\
**Post date:** [February 9, 2010, 3:48pm UTC](https://forum.kirupa.com/t/get-hyperlink-from-xml-on-flash-buttons/304535/1 "2010-02-09T15:48:38Z")

</div>

I have a simple header in which has about 4 buttons. I need to come up with a way that these buttons look at a to get their links instead of hard coding with what i have:

```auto

logobutton.onRelease = function() { geturl("http://www.ihplan.com" ,"_self"); }

```

Reason for this is I have alot of different headers for different pages throughout my website but the buttons are the same on all of them…t will make it easier if anything was to change…all i have to do is a edit the xml instead of 20  
thank you.
