# AS2.0 Targeting frame label from loaded XML

**URL:** <https://forum.kirupa.com/t/as2-0-targeting-frame-label-from-loaded-xml/279049>\
**Category:** flash\
**Created:** [January 8, 2009, 9:17pm UTC](https://forum.kirupa.com/t/as2-0-targeting-frame-label-from-loaded-xml/279049 "2009-01-08T21:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdogfunk](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@gdogfunk](https://forum.kirupa.com/u/gdogfunk)\
**Post date:** [January 8, 2009, 9:17pm UTC](https://forum.kirupa.com/t/as2-0-targeting-frame-label-from-loaded-xml/279049/1 "2009-01-08T21:17:18Z")

</div>

Hello!

I’m having a problem getting loaded XML to link to a frame label on the root timeline. I can load the XML just fine and even add \<a href\> tags to get it to access URLs from XML, but for the life of me I cannot seem to figure out how to activate the link to use the XML attribute “frame\_label” that I have declared. I have searched and searched and cannot seem to find a reference to a solution. I would think this would be a commonly requested item, but maybe I am searching incorrectly.

I have seen reference to using getURL and onRelease or onEvent, but what is the syntax to include onRelease(){gotoAndStop(\_root,“frame\_label”)}; in a \<a href\> tag? Is this the way to go about it?

This has to be possible, any tips or suggestions would be greatly appreciated!

Thank you!!

Ryan
