Description of Error
A 1007 error means that you tried to call the super() method anywhere other than in your constructor.
Adobe’s Official Writeup
You cannot use the super statement within static members. You can use the super statement only within class instances.
(Adobe Error Reference)
Cause of the Error
Somewhere you have the method super() called, and it’s not in the constructor. Remember, the constructor is the main function in your class – it has the same name as your class and file, and it’s the only place you can call super().
Solutions to the Error
Delete your super() call – it’s not doing you any good outside of the constructor anyway!
Other Articles About This Error
If you’ve read a useful writeup of this issue elsewhere on the internet, leave a comment and I’ll add it to this list.
If you found the content of this post useful, please consider clicking the google +1 button to help others find this as well.
If you found it very helpful, please consider throwing a few bits of bitcoin my way! Send to: 1PbUCtn5k3G89rSGTuT6BfkXSekSkjjfKr
Most Recent Comments