It's hard to guess at this without seeing the code. Typically, this happens when you're trying to instantiate something that isn't a class or is a circular or conflicting reference. Something like
var myJunk:NotAClass = new NotAClass(); or var mc:MovieClip = new MovieClip(); mc = new IsAClass(); These are off the top of my head, and might result in different TypeError or ReferneceError, but it wouldn't hurt to try to look for these examples. Rich http://www.LearningActionScript3.com On 4/1/08 2:40 PM, "Patrick Jakub Jankun" wrote: > I have a issue with an error I cant get rid off: > TypeError: Error #1007: Instantiation attempted on a non-constructor. > > Strange thing is, it occurs only when I try to compile with Flash IDE as > Document class, > It¹s not there when I compile it through Linux free command line compiler :( > can someone > Explain me for what should I look? Because the Error messages in Flash ide > are quite hmm.. > Mystic to me (at this time, im like 3 months into AS3) _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

