Hi folks
I wrote this AS for my preloader which schould be able to load a movie clip after pressing a specif button in the main sceene:
onClipEvent (enterFrame) {
tb = math.round(this.getBytesTotal()/1024);
lb = math.round(this.getBytesLoaded()/1024);
perc = math.round((lb/tb)*100);
if (lb>=tb) {
_parent.loadBar._visible = 0;
} else {
_parent.perc = perc;
_parent.loadBar._width = perc;
_parent.loadBar._visible = 1;
}
}
- The problem is that to be able to target a movieclip I will need to give it a instance name. Where can i find this function in MX ?
- I cannot understant how I schoul put a  loadBar being a small movieclip on the main timeline, I think( the same timeline the container clip is at ) or maybe not ? well I am bit confused  now…
 Well I have done already a sceene preloader for my site and it works perfectly and i did not experience any problems as I´m having now with this new kind of preloader… Could you please point me out all these questions, I will apreciate it much.
 And dont forget I am new to flash,so please go easy. 
 thank you