tags:

views:

121

answers:

1

I am working on a ASP website, which everything seems fine, but when i implement a slider on a page inside a folder in the root (i.e. aboutus/index.aspx) i get that error when the slider is trying to call the images.

I have similar slider animations in pages located in the root folder and in those i get no problem at all, seems it only happens when the page is located inside a folder.

The website is done using main.master on asp, maybe the cache or rendering of the website is missing something, hope someone has had something similar or know how to get around this.

Thank you.

A: 

You need to consider where the swf is and where the html is. I think the path to the xml is relative to the html. Also the error you are getting is unhandled ioerror. The actionscript should have a handler to handle this so that you can debug it by tracing it out or writing to a logger.

eg:

var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(IOErrorEvent.IO_ERROR, ioerrorHandler);

and then handle the error in a function

check out this link see if it helps:

http://board.flashkit.com/board/showthread.php?t=782174

Neil