Hi Greg
Thanks for the reply, but I don't think either of these are the issues.
This is the constructor of UserInteractionPanel:
public function UserInteractionPanel (controller:PanelController,
panelObj:Object) {}
And here's a version of GameoverPanel with all but the constructor removed:
class GameoverPanel extends UserInteractionPanel {
public function GameoverPanel(controller:PanelController, panelObj:Object) {
// Call the super() constructor passing it the panel object.
super(controller, panelObj);
// Populate the panel contents.
this.populatePanel();
}
}
Any other ideas? I seem unable to ever create a project involving AS2
classes without getting syntax errors when error checking. These often don't
stop the classes compiling and the application running properly, but they're
a pain.
Cheers
Tim
On 11/17/05, Gregory_GOusable <[EMAIL PROTECTED]> wrote:
>
>
> Check the following:
> 1) class GameoverPanel extends UserInteractionPanel ...
> Make sure you have "extends" word
>
> 2) To use super(controller, panelObj); , you must have 2 parameters
> in the construstor of UserInteractionPanel class.
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders