# Calling swf file with xml

**URL:** <https://forum.kirupa.com/t/calling-swf-file-with-xml/301033>\
**Category:** Uncategorized\
**Created:** [December 2, 2009, 5:28pm UTC](https://forum.kirupa.com/t/calling-swf-file-with-xml/301033 "2009-12-02T17:28:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![traqman](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@traqman](https://forum.kirupa.com/u/traqman)\
**Post date:** [December 2, 2009, 5:28pm UTC](https://forum.kirupa.com/t/calling-swf-file-with-xml/301033/1 "2009-12-02T17:28:47Z")

</div>

need help with calling external .swf files into main movie using xml driven itunes style menu. Below is the code the itunes scroller uses to call a url from the xml. I need it to call something like (swfFile=“fillers.swf”) instead of just a url. PLEASE HELP!!!:\*(

img\_info.artistLink.enabled = true;  
if (infostruc[current - 1].authLink == undefined) {  
img\_info.authLink.enabled = false;  
} else {  
if (infostruc[current - 1].authLink == “undefined”) {  
img\_info.authLink.enabled = false;  
} else {  
img\_info.artistLink.onPress = function() {  
getURL(infostruc[current - 1].authLink, “\_blank”);  
};  
}  
}  
img\_info.albumLink.enabled = true;  
if (infostruc[current - 1].albumLink == undefined) {  
img\_info.albumLink.enabled = false;  
} else {  
if (infostruc[current - 1].albumLink == “undefined”) {  
img\_info.albumLink.enabled = false;  
} else {  
img\_info.albumLink.onPress = function() {  
getURL(infostruc[current - 1].albumLink, “\_blank”);  
};  
}  
}
