Weird problem with preloader (very basic)

ok, i have simpley 2 keyframes… and all i want is a basic preloader where the bar expands horizontally…

1 keyframe is the preloader, 2nd keyframe is the content…

heres my code

stop();
loaderInt = setInterval (Lbar,10)
function Lbar (){
if(getBytesLoaded()>= getBytesTotal()){
play();
clearInterval(loaderInt);
}
fill_MC._xscale = (getBytesLoaded()/getBytesTotal()*100);
}

now when i preview, the loader just pops up, no loading, and theres a few errors…

i am following a tutorial… what am i doing wrong !!!

here are the errors

1180: Call to a possibly undefined method getBytesLoaded.
1180: Call to a possibly undefined method getBytesTotal.
1120: Access of undefined property loaderInt.
1180: Call to a possibly undefined method getBytesLoaded.
1180: Call to a possibly undefined method getBytesTotal.
1120: Access of undefined property loaderInt.

ty kirupians