It might happen if you are doing things inside the class that the IDE
does not "support" - there are lots of things on the internet about
this. Many of them seem to be because people are using [Embed] (this
does not work with the IDE), but it could be something similar:
http://www.google.co.uk/search?hl=en&q=TypeError%3A+Error+%231007+%22document+class%22&btnG=Search&meta=
<http://www.google.co.uk/search?hl=en&q=TypeError%3A+Error+%231007+%22document+class%22&btnG=Search&meta=>
If it's not the [Embed] issue, something else in your class is "flaky" -
try commenting lines out in the class constructor and then comment out
any variables that are "populated" when you declare them, e.g.
class MyClass extends MovieClip {
//Comment stuff like this out
private var myChild:MovieClip = new MovieClip();
}
Try to compile as you comment each bit out, etc...
HTH
Glen
Patrick Jakub Jankun wrote:
Hello everyone,
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)
Thanks for any advice,
Patrick
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders