External preloader

I have a big MC to be loaded and when I try a normal preloader put on the first scene of the MC it just doesn’t start until the first frame of the MC is loaded.
Flash is made up in a way that all the content of the MC is loaded on the first frame so my first frame is like 155 kb big.
I found out I had to build an external preloader but I don’t know how?
I found a tut on the subject but the MC there was loaded into a level.
I want to ask if someone knows how to build a preloader to load a movie into a target.

i did that using levels not targets, and i used _level#.getBytesLoaded and _level#.getBytesTotal instead of _frameLoaded…

for levels, it works just the same way a normal preloader would work

heres the code i used


onClipEvent(load){
loadMovieNum( _root.section, 1) // the variable section contains the address to the swf to be loaded
}
onClipEvent(enterFrame){
loadedbytes = _level1.getBytesLoaded()
total = _level1.getBytesTotal()
percentage = Math.round(rloaded*100/total)
per = percentage + "%"
bar._width = percentage
if (rloaded == total){
_parent.play()
}
}

cheers
:A+:

i think you can still load an swf into a target and use


_root.movieclipName.getBytesLoaded

but i havent tried that yet… you might wanna give it a shot=)

cheers
:A+: