PDA

View Full Version : Call to a possibly undefined method



lunetics
November 8th, 2007, 07:32 AM
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

Dazzer
November 8th, 2007, 07:48 AM
does the Init class extend MovieClip?

lunetics
November 8th, 2007, 07:51 AM
Nop it didn´t, but now it does and it works :thumb:

Thanx a lot!!!!

lunetics
November 8th, 2007, 10:55 AM
But I´ve a new question:
The Init-class calls the Connection-class who connects to a streaming server. When recieving "NetConnection.Connect.Success" status the Connection-class will move the playhead to frame 2. The problem is to access the stage. How can this be done?

lunetics
November 8th, 2007, 04:09 PM
:snooze: :q: