|
|||
|
Hello!
I am using your Kelssar gallery for my portfolio and was creating external swfs with the gallery. My issue is that when I load the external swfs into my main movie it doesnt unload the xml from the previous gallery that I load. I have tried a cachebust but it still does it. I am thinking it still can be edited from the flashvars in main.as; but I am not very good with action script. I am editing from the main.as, is this what I need to edit and if so any ideas? Code:
var xmlob:XML = new XML();
myXml = xmlob;
xmlob.ignoreWhite = true;
xmlob.onLoad = Proxy.create(this, conti, scroller, myXmla, settings);
xmlob.load(_level0.xml == undefined ? "bunnydata.xml": _level0.xml);
}
public function conti()
{
//after the xml has loaded this function executes and it will read all the data from the xml
//create the thumbnails and add the scrolling effect
var n:XML = myXml;
// after the xml is loaded the variable will be stored into an object
var node:XMLNode = n.firstChild.firstChild;
Quote:
I hope you can help! Thanks |