Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m confused

Compile error at end of chapter 6 in Essential ActionScript 3.0

When I compile the virtual zoo program at the end of chapter 6 in Essential ActionScript 3.0, I get the error message: "1007: A super statement can be used only inside class instance constructors." The error refers to the line "super(initialCalories);" in Sushi.as. My code is identical to the code provided in the book.
1 person has
this problem
+1
Reply