Thanks for the tips. I tried it on two different machines and after restart of both Flash and the computer. I also did check the autodeclare thing.
What's more I did manage to narow the problem to one line of recently modified code and still don't get it. I've got an array containing subtitle data (: subtitles:Aray = [ new SubtitleAction ("bbb", 3, 3) , new SubtitleAction ("bbb", 8, 3) , new SubtitleAction ("bbb", 15, 3) , new SubtitleAction ("bbb", 21.5, 3) , new SubtitleAction ("bbb", 24, 3) etc. ] where SubtitleAction is simply a datatype class with following constructor: public function SubtitleAction (text:String, triggerTime:Number , durationTime:Number) { super (TYPE_SUBTITLE); this.text = text; this.triggerTime = Math.floor(triggerTime); this.durationTime = durationTime; } It does nothing else except being used by another part of application (which manages display of subtitles). SubtitleAction extends another class: ActionEvent but it makes use of only one super's variable: 'type', which is set to constant: TYPE_SUBTITLE. The problem starts when I try to set triggerTime not to a round number but to 21.5 for example like in the fourth line. To make sure that it's nothing that would cause problem anywhere further I added Math.round () to round the value in the constructor BUT it still adding .5 to 21messes up the whole app. No compiler or regular runtime errors, just a bunch of 1065 Errors begining with "Variable (my DocumentClass name ) is not defined". I can live with round numbers of seconds to adjust the subtitles, but I can't without understanding what's happening here. :-) Best, Konrad 2008/7/18 Fabio Pinatti <[EMAIL PROTECTED]>: > On Fri, Jul 18, 2008 at 5:29 PM, Benicio del Toro < > [EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'm working on a quite large AS3 project in Flash and I'm closing to the > > end > > of it but suddenly my main file stopped compiling properly. There are no > > compilers errors, but the application doesn't seem to start, and I get > tons > > of 1065: 'Variable xxxxxx is not defined' errors. I guess it lists most > of > > my custom classes (there are probably around 50 different classes in the > > project, excluding simple indentifiers for the library assets. > > > > It all happened when I was editing some very non critical parts of the > code > > (adjusting timings of movie subtitles), but at some point I picked up my > > phone and may have clicked on something unconsciously by mistake. :-( > > > > I started looking into code, but honestly I don't know what may have > caused > > it. Is there any obvious reason, that I should check in the first place? > > > > Please help, I spent last 1,5 month writing the damn thing and it should > > run > > on public on Monday... > > > > Best regards, > > Konrad > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > Maybe you've marked off the "Automatically Declare Stage Instances", did > you > try see that? > > Best > > -- > Fábio Pinatti > :: web.developer > :::: www.pinatti.com.br > :::::: 19. 9184.3745 / 3342.1130 > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders