getBytes

Can somebody pls give me the scripting to getBytes to load a whole file. I’ve done the tutorial, http://www.kirupa.com/developer/actionscript/preloader.htm

but that only shows you how to load a movie clip. I’ve created a preloader in flash that suppose to getbytes for another flash file. (Not sure if you’re actually suppose to use javascript??? :huh: )

Pls help.