ok I am trying to get a preloader to work, so I followed this tutorial. I put this code on my frame...and nothing it still doesn't work. It won't load the first frame without loading the entire file first. I don't know what to do...

//loader stuff goes here
// stop the movie from continuing

// create a function called onEnterFrame
// with this name, it is an event handler
// and is called automatically by the flash
// player every frame at intervals specified
// by the frame rate of the movie
onEnterFrame = function(){
	// percent loaded is loaded/total
	var percent_loaded = _root.getBytesLoaded()/_root.getBytesTotal();
	// assign percent loaded to preloader movie clip
	// in the form of the variable named value
	preloader_mc.value = percent_loaded;
	if (percent_loaded == 1){
		// delete the onEnterFrame event handler
		// so that it is no longer being called
		// every frame
		delete onEnterFrame;
		// tell the main timeline to play
//loader stuff ends here
_global.theatre = 1;
_global.money = 0;