# How to load url in xml from flash component?

**URL:** <https://forum.kirupa.com/t/how-to-load-url-in-xml-from-flash-component/292450>\
**Category:** flash\
**Created:** [July 14, 2009, 11:57am UTC](https://forum.kirupa.com/t/how-to-load-url-in-xml-from-flash-component/292450 "2009-07-14T11:57:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyrawk](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@flyrawk](https://forum.kirupa.com/u/flyrawk)\
**Post date:** [July 14, 2009, 11:57am UTC](https://forum.kirupa.com/t/how-to-load-url-in-xml-from-flash-component/292450/1 "2009-07-14T11:57:44Z")

</div>

Hi im having diffficulties to get my gallery right. im using a flash component for thumbnail and wanted to make bigger preview with lightbox. but failed. here is the action script and xml file

fla.  
var listEvents = new Object();  
listEvents.onReleaseThumb = function(obj:Object) {  
//get the url for this item  
getURL(obj.url);  
};  
//adding the listener  
//comp is the instance name of your thumbnail slider component on stage  
comp.addListener(listEvents);  
stop();

xml.  
\<?xml version=“1.0” encoding=“UTF-8”?\>  
\<gallery\>  
\<img thumbEvents=‘true’ thumbnail= ‘img/thumbnails/01s.jpg’ large=‘img/01.jpg’ description=‘aaaaaa’ url=‘javascript:GroupDelegate(‘img1’)" target=’\_self"/\>  
\</gallery\>

hope someone could help me with this matter  
Thanks
