unloadClip Pano2QTVR swf file error

Specific Q&A about the new Flash export
Locked
threemind
Posts: 2
Joined: Thu Sep 27, 2007 7:29 pm

Tue Oct 02, 2007 4:21 pm

Hi,

when i unload (with unloadClip or removeMoveClip) Pano2QTVR swf file loaded before into a fla8 file, the swf pano don't delete completely.

If the controller swf file it's hide and not loaded from swf pano, not problem.

as for loading external pano swf:

onClipEvent (load) {
// Create container movieclip
var G:MovieClip = this.createEmptyMovieClip("gamma", 1000);
// prevent access to "real" root
gamma._lockroot = true;
// Create a Movieclip loader
var myLoadergamma = new MovieClipLoader();
var myListenergamma = new Object();
myListenergamma.onLoadStart = function() {
// change autorotation
gamma.autorotate = 0;
gamma.autoplay = 0;
};
// add the Listener
myLoadergamma.addListener(myListenergamma);
// ... and finally load the pano!
myLoadergamma.loadClip("swf/panoramica2.swf", gamma);
_root.home_bt._visible = 0;
}

as for remove external pano swf loaded before:

on (release){
var myClip:MovieClip = world.getObjClip("foto11");
this.areapano.gamma.cclip.unloadMovie() ;
var myClip:MovieClip = _root.world.getObjClip("foto11");
gamma._lockroot = false;
myloadergamma.unloadClip("gamma");
_root.world.motionCam({x:x, y:y, z:3600}, 10);
}

Note
The pano swf are loaded into a component for Fla8.

Help me, please!

Thank you in advance.
Bye
Threemind
Locked