Call to a possibly undefined method

I´ve a main application, Recorder.fla, that has a class defination that points to a Init-class. In the Init-class I´ve put a simple preloader but I got this compiler error: 1180: Call to a possibly undefined method gotoAndStop. Why?

When the preloader har finished I want to bring the playhead to frame 2 - gotoAndStop(2) - and then do some other stuff