# Xml image banner rotator... help!

**URL:** <https://forum.kirupa.com/t/xml-image-banner-rotator-help/176643>\
**Category:** Uncategorized\
**Created:** [January 25, 2006, 7:29pm UTC](https://forum.kirupa.com/t/xml-image-banner-rotator-help/176643 "2006-01-25T19:29:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![calvintage](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@calvintage](https://forum.kirupa.com/u/calvintage)\
**Post date:** [January 25, 2006, 7:29pm UTC](https://forum.kirupa.com/t/xml-image-banner-rotator-help/176643/1 "2006-01-25T19:29:47Z")

</div>

Hi,

I’m a noob AS’er and I am stuck at this point… I don’t know exactly what I’m doing wrong… Please help.

I have 2 empty mc’s that get images from xml.  
I’m trying to make the mc’s into “buttons” so on mc.onRelease, url from xml will be linked.

Problem:  
onRelease starts working from second image.  
URL link is adURLindex = 2, when it should be adURLindex = 1.

Please help… I’m attaching my fla and xml files. Thank you in advance.

edit: i think i found the answer:  
[http://www.kirupa.com/forum/showthread.php?t=200074&highlight=loadMovie+onRelease](http://www.kirupa.com/forum/showthread.php?t=200074&highlight=loadMovie+onRelease)

kirupa forum rocks 😃
