SWF Object and Kirupa's gallery intergration problem

[SIZE=2]Hi there[/SIZE]

[SIZE=2]I am having some issues building a website using deep linking with SWF Address. [/SIZE]

[SIZE=2]On the sites homepage there are 8 images on a scroller. When clicked, these images link directly to their designated page in the portfolio - so far there’s just 8 pages in the portfolio. The homepage scroller is a movieclip which load external XML to call the location of the images, and a direct URL link to its destination. My project is built around the supplied example file found here: http://www.asual.com/swfaddress/samples/ufo/ this means that each page on the site has its own frame on the timeline.[/SIZE]

[SIZE=2]The problem I am having is that although a user can click on any of the scroller images on the homepage, the correct portfolio page loads up but this stops the left hand navigation working. I think it is something to do with how I have integrated kirupa’s gallery tutorial file.[/SIZE]

[SIZE=2]Here is the link to the page which uses kirupa’s gallery: [/SIZE]
[SIZE=2]http://www.bluestonedesign-clients.co.uk/bluestone/ [/SIZE]
[SIZE=2]Try click on one of the right hand images (apart from the very top one!) and then notice that the left hand portfolio navigation buttons cease to work.[/SIZE]

[SIZE=2]here is the site without the gallery integrated. [/SIZE]
[SIZE=2]http://www.bluestonedesign-clients.co.uk/bluestone2.1/[/SIZE]
[SIZE=2]Notice how it works 100% as expected. (home page scroll images link to the correct portfolio pages and left hand animation remains 100% working.) [/SIZE]

[SIZE=2]Here is the kirupa gallery code:[/SIZE]
[SIZE=2]

function loadXML(loaded) {

[/SIZE]


[SIZE=2]if (loaded) {[/SIZE]
[SIZE=2] xmlNode = this.firstChild;[/SIZE]
[SIZE=2] image = [];[/SIZE]
[SIZE=2] description = [];[/SIZE]
[SIZE=2] total = xmlNode.childNodes.length;[/SIZE]
[SIZE=2] for (i=0; i<total; i++) {[/SIZE]
[SIZE=2]  image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;[/SIZE]
[SIZE=2]  description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;[/SIZE]
[SIZE=2] }[/SIZE]
[SIZE=2] firstImage();[/SIZE]
[SIZE=2]} else {[/SIZE]
[SIZE=2] content = "file not loaded!";[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]xmlData = new XML();[/SIZE]
[SIZE=2]xmlData.ignoreWhite = true;[/SIZE]
[SIZE=2]xmlData.onLoad = loadXML;[/SIZE]
[SIZE=2]xmlData.load("xml/folio2.xml");[/SIZE]
[SIZE=2]/////////////////////////////////////[/SIZE]
[SIZE=2]listen = new Object();[/SIZE]
[SIZE=2]listen.onKeyDown = function() {[/SIZE]
[SIZE=2]if (Key.getCode() == Key.LEFT) {[/SIZE]
[SIZE=2] prevImage();[/SIZE]
[SIZE=2]} else if (Key.getCode() == Key.RIGHT) {[/SIZE]
[SIZE=2] nextImage();[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]};[/SIZE]
[SIZE=2]Key.addListener(listen);[/SIZE]
[SIZE=2]previous_btn.onRelease = function() {[/SIZE]
[SIZE=2]prevImage();[/SIZE]
[SIZE=2]};[/SIZE]
[SIZE=2]next_btn.onRelease = function() {[/SIZE]
[SIZE=2]nextImage();[/SIZE]
[SIZE=2]};[/SIZE]
[SIZE=2]/////////////////////////////////////[/SIZE]
[SIZE=2]p = 0;[/SIZE]
[SIZE=2]this.onEnterFrame = function() {[/SIZE]
[SIZE=2]filesize = picture.getBytesTotal();[/SIZE]
[SIZE=2]loaded = picture.getBytesLoaded();[/SIZE]
[SIZE=2]preloader._visible = true;[/SIZE]
[SIZE=2]if (loaded != filesize) {[/SIZE]
[SIZE=2] preloader.preload_bar._xscale = 100*loaded/filesize;[/SIZE]
[SIZE=2]} else {[/SIZE]
[SIZE=2] preloader._visible = false;[/SIZE]
[SIZE=2] if (picture._alpha<100) {[/SIZE]
[SIZE=2]  picture._alpha += 10;[/SIZE]
[SIZE=2] }[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]};[/SIZE]
[SIZE=2]function nextImage() {[/SIZE]
[SIZE=2]if (p<(total-1)) {[/SIZE]
[SIZE=2] p++;[/SIZE]
[SIZE=2] if (loaded == filesize) {[/SIZE]
[SIZE=2]  picture._alpha = 0;[/SIZE]
[SIZE=2]  picture.loadMovie(image[p], 1);[/SIZE]
[SIZE=2]  desc_txt.text = description[p];[/SIZE]
[SIZE=2]  picture_num();[/SIZE]
[SIZE=2] }[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]function prevImage() {[/SIZE]
[SIZE=2]if (p>0) {[/SIZE]
[SIZE=2] p--;[/SIZE]
[SIZE=2] picture._alpha = 0;[/SIZE]
[SIZE=2] picture.loadMovie(image[p], 1);[/SIZE]
[SIZE=2] desc_txt.text = description[p];[/SIZE]
[SIZE=2] picture_num();[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]function firstImage() {[/SIZE]
[SIZE=2]if (loaded == filesize) {[/SIZE]
[SIZE=2] picture._alpha = 0;[/SIZE]
[SIZE=2] picture.loadMovie(image[0], 1);[/SIZE]
[SIZE=2] desc_txt.text = description[0];[/SIZE]
[SIZE=2] picture_num();[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]function picture_num() {[/SIZE]
[SIZE=2]current_pos = p+1;[/SIZE]
[SIZE=2]pos_txt.text = current_pos+" / "+total;[/SIZE]
[SIZE=2]}[/SIZE]

[FONT=Calibri]I’m sure there is a problem with this code (for the purpose of this project), so I’d be keen to see if anyone can provide a way I could look into altering it, or any other suggestions of making the site work![/FONT]

[FONT=Calibri]Thanks, Rich [/FONT]
[FONT=Arial][SIZE=2]
[/SIZE][/FONT]