PDA

View Full Version : FPP Big Problem - unload issue


robrockyeah13
03-10-2009, 03:33 PM
Hello people!
I'm in Flash Panorama Player since 2 years at least, but I'm not checking this forum recently.

I really would like to know if a big problem as the "unload issue" is solved.

I try to explain better:
I'm going to do a virtual tour with several panoramics and a main map which allows me to reach each pano by spot links.
If I join one pano.swf from the map.swf, then I come back to the map.swf, the next time I'll go to the pano.swf everything is going really really slow, because something has not been unloaded and keep being there.
I think it's smething with the "FPP Motor" or code.

Thanks for your time and help.

HansNyberg
03-10-2009, 05:16 PM
Do you have any examples on this?
I have never had any problems like it.

Hans

GimenesSferica
03-12-2009, 05:39 PM
Hi, This is the same problem I am facing. The problem is that I have to load different galleries for different panos, using linked. The first gallery is loaded, and than when it should load the second gallery there is an error, cause the first one still loaded.

See it: www.sferica.com.br/teste/linked/
Click on AMBIENTES and see my gallery working. Then Click on UNIDADES and put on PERDIZES. The gallery will not be loaded.

May someone help?

Thanks,
Tiago Gimenes

Virtualguide
03-13-2009, 02:57 PM
what about to load another .xml file?

robrockyeah13
03-17-2009, 02:55 PM
Hallo peple!!!
Yes finally I've found a solution reading other threads.
This "magic code" solved all my troubles:

function aprimainpag(event:MouseEvent) {
if (loader!=null) {
MovieClip(loader.content).stop();
panorama.pano.remove();
removeChild(loader);
loader.unload();
loader=null;
gotoAndPlay("main")
}
}

Good luck to y'all and thanks!!!