Go Back   Flashtory Support Forum > Flash Files Support > Flash Galleries > Kelssar Resizable Gallery

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2010, 09:29 PM
Junior Member
 
Join Date: Mar 2010
Posts: 1
Default xml data does not unload

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:
// after the xml is loaded the variable will be stored into an object
var node:XMLNode = n.firstChild.firstChild;
would I need to create an unload script for this?

I hope you can help!

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-11-2011, 10:01 AM
Junior Member
 
Join Date: Feb 2011
Posts: 6
Default

Hello,
I have the same problem, did you find a solution? Days when I bug....
Thank you.
Reply With Quote
Reply

« - | - »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
based on a modified theme of CompleteGFX