salve ragazzi sapete dirmi come faccio a mascherare dei attaccati sulla root?


ecco il link dove ho messo provvisoriamente il mio sito per favi capire perchè già so che non mi saprò spiegare bene

cliccate su entra e poi andate sul bottone news..

ecco il link del mio sito
una volta nelle news muovetevi con le frecce rosse a lato

quello che vorrei ottenere è un qualcosa come ai numeri del profilo solo che li la situazione è statica e quindi ho maskerato tutto mc invece qui le date si caricano da xml

mi spiego meglio
ho un file xml con dentro delle date che leggo e ognuna di questa viene messa sullo stage in verticale in un mc

in questo modo

19-03.1988
19-04.1988
19-05.1988
19-06.1988
19-07.1988
19-08.1988

tramite la classe mc_tween con dei bottoni sposto queste date sopra e sotto in base alla news selezionata..

ora vorrei sapere come faccio a maskerare una sola data
es premo il tasto su
19-03.1988 non si vede
19-04.1988 si vede
19-05.1988 non si vede
19-06.1988 non si vede
19-07.1988 non si vede
19-08.1988 non si vede

ancora premo su
19-03.1988 non si vede
19-04.1988 non si vede
19-05.1988 si vede
19-06.1988 non si vede
19-07.1988 non si vede
19-08.1988 non si vede

ragazzi scusatemi ma non so spiegarmi meglio ora i posto il codice per capire

Codice PHP:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var 
itemcorrente=0;
 function 
loadXML(loaded) {
    if (
loaded) {
        
xmlNode this.firstChild;
        
image = [];
        
imagebig=[];
        
titolo = [];
        
description = [];
        
dat=[];
        
total xmlNode.childNodes.length;
        for (
i=0i<totali++) {
            
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
            
titolo[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
            
description[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
            
imagebig[i]=xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
            
dat[i]=xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
        }
        for(
s=0;s<=total;s++){
        
trace(dat[s]);
        }
        
firstImage();
    } else {
        
content "file not loaded!";
    }
}
xmlData = new XML();
xmlData.ignoreWhite true;
xmlData.onLoad loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
    if (
Key.getCode() == Key.LEFT) {
        
prevImage();
    } else if (
Key.getCode() == Key.RIGHT) {
        
nextImage();
    }
};

Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();

    
};

next_btn.onRelease = function() {
nextImage();
    
    
};
/////////////////////////////////////
0;
this.onEnterFrame = function() {
    
filesize con_img.picture.getBytesTotal();
    
loaded con_img.picture.getBytesLoaded();
    
preloader._visible true;
    if (
loaded != filesize) {
        
preloader.preload_bar._xscale 100*loaded/filesize;
    } else {
        
preloader._visible false;
        if (
con_img.picture._alpha<100) {
            
con_img.picture._alpha += 10;
        }
    }
};
function 
nextImage() {
    if (
p<(total-1)) {
        
p++;
        
//controllo_date()
        //var sopra= this["date"+i]._y
        
for (i=0;i<=total;i++){
            
//sopra=sopra-157;
            
var nume:Tween = new Tween(this["date"+i],"_y",Strong.easeOut,this["date"+i]._y,this["date"+i]._y-150,1,true);
            }
            if (
loaded == filesize) {
            
//var nume:Tween = new Tween(numeri,"_y",Strong.easeOut,numeri._y,sopra-157,1,true);
            
con_img.picture._alpha 0;
            
con_img.picture.loadMovie(image[p], 1);
            
con_img.title_txt.text titolo[p];
            
con_img.desc_txt.text description[p];
            
set(itemcorrente=p,"");
            
con_img.onRelease=function(){
        
show_big();
        }
        }
    }
}
function 
prevImage() {
    if (
p>0) {
        
p--;
        
//controllo_date()
        //sotto=this["date"+i]._y;
        
for(i=0;i<=total;i++){
        var 
num:Tween = new Tween(this["date"+i],"_y",Strong.easeOut,this["date"+i]._y,this["date"+i]._y+150,1,true);
        }
        
con_img.picture._alpha 0;
        
con_img.picture.loadMovie(image[p], 1);
        
con_img.title_txt.text titolo[p];
        
con_img.desc_txt.text description[p];
        
set(itemcorrente=p,"");
        
con_img.onRelease=function(){
        
show_big();
        };
        
    }
}
function 
firstImage() {
    if (
loaded == filesize) {
        
controllo_date()
        
con_img.picture._alpha 0;
        
con_img.picture.loadMovie(image[0], 1);
        
con_img.title_txt.text titolo[0];
        
con_img.desc_txt.text description[0];
        
set(itemcorrente=0,"");
        
con_img.onRelease=function(){
        
show_big();
        }
    }
}
function 
show_big() {
    
this.attachMovie ("cont_loca""cont_loca1"1); 
    
this["cont_loca1"]._x=93;
    
this["cont_loca1"]._y=22;
    
this["cont_loca1"].pict_big.loadMovie(imagebig[itemcorrente], 2);
}

i=0;
function 
controllo_date(){
    var 
spaziamento=0
    
for(i=0;i<=total-1;i++){
    
this.attachMovie("date","date"+i,100+i);
    
this["date"+i].date_txt.text dat[i];
    
spaziamento=spaziamento
    this
["date"+i]._x=605 
    this
["date"+i]._y=430 spaziamento
    spaziamento 
spaziamento +150;
    }

il problema sta nella profondità quando creo le date

Codice PHP:
i=0;
function 
controllo_date(){
    var 
spaziamento=0
    
for(i=0;i<=total-1;i++){
    
this.attachMovie("date","date"+i,100+i);<<---------------------
    
this["date"+i].date_txt.text dat[i];
    
spaziamento=spaziamento
    this
["date"+i]._x=605 
    this
["date"+i]._y=430 spaziamento
    spaziamento 
spaziamento +150;
    }

se la profondità cambia come creo una maskera?

forse dovrei caricare le mie date in un mc vuoto e non nella root e poi maskerare lmc ma non so come si fa?

forse cosi
Codice PHP:
mio_mc_sulla_root.attachMovie("date","date"+i,this.getNextHighestDepth()); 
ma non funge.. non escono le date?

ragazzi mi spiegate come devo fare?