salve ho un problema con questo script
Codice PHP:
function findMaxLevel(menu_nomc_string):Number {
    var 
maxDepth:Number 0;
    var 
clip:Number 0;
    var 
j:Number;
    for (
j=0j<menu_noj++) {
        if (eval(
mc_string+j).getDepth()>=maxDepth) {
            
maxDepth = eval(mc_string+j).getDepth();
            
clip j;
        }
    }
    return 
clip;
}
function 
setMenu(menu_nomenuStartXwidthOptionmc_string) {
    var 
mcPaths = ["1.swf""2.swf""3.swf""4.swf""5.swf""night.swf"]; 
    
    var 
j:Number;
    for (
j=0j<menu_noj++) {
        var 
_mc:MovieClip = new MovieClip();
        
_mc this[mc_string+j];
        
_mc.onRelease = function () { 
            
//getURL(mcPaths[j], "_blank");
            
loadMovieNum(mcPaths[j],3); 
        }; 
in pratica l'ultimo loadmovie non mi passa il numero j
sapreste dirmi come mai?
e perchè mi passa sempre l'ultimo valore della variabile mcPaths ovvero night.swf?

grazie mille