External mc preloader

first thread here.
I am trying to organise a product gallery for furniture factory.
I placed an external mc in a empty mc on main flmxmovie.
does the preloader go on the external mc??? or the main movie

sorry for stuppid question
help asap… please.

Welcome to Kirupaforum =)

Well, it can be done both, but it’s easier to place it on the external SWF. Especially when using this preloader tutorial

thanks for nice script for preloader; had one but not so smooth running.,
i have still one doubt. among the million doubts coming.
the movie i load is external, so i see underneath it the menus from the main movie( how to prevent this from happening) or what code am i to give on the buttons to make the external to disapear an go to the link i want.
i tried to script the unload but seems just to staal tha main movie.
thanks a million for helping. greetings from portugal
:thumb:

the more ‘elegant’ and ‘time saving’ method is to make one preloader on the main menu, rather than each swf has its own preloader. It works faster. On the onPress event of each button,
use something like movieTobeLoaded=“profile.swf”. Try this on your preloader frame. I dunno if it’ll work but try it.



content.loadMovie(_root.movieTobeLoaded)
stop()
this.onEnterFrame=function(){
loaded1=content.getBytesLoaded()
total1=content.getBytesTotal()
bar._xscale=Math.floor((loaded1/total1)*100)
if(loaded1==total1){
nextFrame()
}
}

thanks for helping.
but i’m quite green om AS, so i ask what does it mean the tobe loaded comand make!!:beam: