PDA

View Full Version : embedPano BIG problem


robrockyeah13
02-11-2008, 01:29 PM
I think this is a big big problem with embedPano!!!

I made a site with a main swf menu where is possible to go by a link in another swf (embedPano) where there are my panos linked as a path.

var tourpag:Loader=new Loader();
var tourswf:URLRequest=new URLRequest("embedPano.swf");

tourbtn.addEventListener(MouseEvent.CLICK,opentour pag);

function opentourpag(event:MouseEvent){
tourpag.load(tourswf);
addChild(tourpag);

The problem is when i come back from "embedPano.swf" to the "main menu.swf"

closetourbtn.addEventListener(MouseEvent.CLICK,clo setourpag);
function closetourpag(event:MouseEvent){
//removeChild(tourpag);

this.parent.unload();

It's like some "traces" or i don't know how to call it, are remaining from the embedPano.swf in the main menu.
I mean it's like if all the pano property, like autorotator and other stuff, remain though i come back to the main menu. And when i return to the embedPano.swf everything is moving really slow.
How can i solve this???

Trausti Hraunfjord
02-11-2008, 03:04 PM
That sounds like Adobe Flash's trash collector that doesn't pick up the trash.

If that's the case, you are not going to be able to solve it.