Thank you so much, Amy. I tried removing the :void in both constructors, but the error remains. I'm using Flash CS6 on Mac OSX, by the way, in case this changes anything.
The code I'm using is a simplified example of my project, I didn't post the actual code because both classes are a bit big to post here and my code is in portuguese...