Load attribute of Current Position + XML + kirupa image gallery

I need a button in Flash which load the attribute url of current position of image.( KIRUPA IMAGE GALLERY + XML)

If any one can help me in this issue.