I've seen this happen when the include .as file had the same name as the fla it's included in. Just a thought..
regards, Muzak ----- Original Message ----- From: "Mike Mountain" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Friday, February 16, 2007 12:58 PM Subject: [Flashcoders] Flash IDE thinks standard #include ".as" file is aclass file I've been working on an as file for some time - it's used as an #include, it isn't a class (although it's part of a project which has classes), just a means for me to tidy away some pretty rudimentary timeline code from designers. Everything was working fine but now the IDE won't validate the code - even though there's nothing wrong with it - it keeps spitting out errors: "ActionScript 2.0 class scripts may only define class or interface constructs." Blah Copy the code into a brand new as file, click the tick, works fine - save it out with a filename, click the tick, breaks. I've deleted my ASO files and still no joy - even if I comment out all the code it still bloody complains. Anyhow, anyone shed any light on this? - Or how to fix it, I think it start when I put some imports in the file by mistake. Cheers M _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com