Topic: mCaption_mc.text value not unloaded... why?

mCaption_mc.text

hey guys, i'using 4 instances of simpleviewer in a flashsite i am currently working on. Unfortunatly there is one issue i'm not getting through.

after one instance is via "containerClip.unloadMovie()" removed, the opener flash still remains on screen and in most case the current image index from the last viewer-instance remains. If i click on the next viewer, it loads and displays the current image index which has been stored from the first viewer....

how can i unload the variables and objects as well?

here's a part of my code:


function loadgal(target) {
    _root.holder_mc.unloadMovie();
    var noCache = new Date().getTime();
    trace("galerie: "+target+" Galerie");
    var archgal:String = "galerien/arch/viewer1.swf?"+noCache;
    var peogal:String = "galerien/peo/viewer2.swf?"+noCache;
    var musgal:String = "galerien/mus/viewer4.swf?"+noCache;
    var natgal:String = "galerien/nat/viewer3.swf?"+noCache;
    var mcListener:Object = new Object();
    mcListener.onLoadComplete = function() {
        _level0.holder_mc.mcCaption.txtText.text = "";    
    }
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(mcListener);
    mcLoader.addListener(this);
    switch (target) {
    case "arch" :
        mcLoader.loadClip(archgal, _root.holder_mc);
        logo_mc.current_gal_txt.text = "architektur";
                
        break;
    case "peo" :
        mcLoader.loadClip(peogal, _root.holder_mc);
        logo_mc.current_gal_txt.text = "people";
                
        break;
    case "mus" :
        mcLoader.loadClip(musgal, _root.holder_mc);
        logo_mc.current_gal_txt.text = "musik";
                
        break;
    case "nat" :
        mcLoader.loadClip(natgal, _root.holder_mc);
        logo_mc.current_gal_txt.text = "reise";
        break;
    }
}



function fadeOut(target) {
    dx = new Tween(target, "_alpha", Regular.easeOut, 100, 0, 0.4, true);
}
function fadeIn(target) {
    dy = new Tween(target, "_alpha", Regular.easeOut, 0, 100, 0.4, true);
}
menue.menu.arch_mc.onRelease = function() {
    fadeOut(menue);
    dx.onMotionFinished = function() {
        _root.menue._visible = 0;
        loadgal("arch");
    };
};
menue.menu.people_mc.onRelease = function() {
    fadeOut(menue);
    dx.onMotionFinished = function() {
        _root.menue._visible = 0;
        loadgal("peo");
    };
};
menue.menu.musik_mc.onRelease = function() {
    fadeOut(menue);
    dx.onMotionFinished = function() {
        _root.menue._visible = 0;
        loadgal("mus");
    };
};
menue.menu.reise_mc.onRelease = function() {
    fadeOut(menue);
    dx.onMotionFinished = function() {
        _root.menue._visible = 0;
        loadgal("nat");
    };
};

i even tried a noCache workaround, didn't work very well...

hope, anyone knows something :-)

Re: mCaption_mc.text value not unloaded... why?

c'mon guys, no one an idea?