Loader class problem... Please help!

I keep getting this error:

siteLoader.as, Line 23 1061: Call to a possibly undefined method load through a reference with static type Loader.

This class is the main class for the movie. It looks like myLoader is defined. I’M GOING CRAZY. CAN ANYONE HELP!!!

This is a simplified version of the class.

package  {
    
    import flash.display.MovieClip;
    import flash.net.URLRequest;
    import flash.display.*;

    public class siteLoader extends MovieClip 
    {
        
        private var myLoader:Loader;
  
        public function siteLoader()
        {
            myLoader = new Loader();
            addChild(myLoader);
            var mySwfFile:URLRequest = new URLRequest("index.swf");
          //Problem Here    
            myLoader.load(mySwfFile);
        }
}

}