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.
  

-- 
Best regards,
 Gregory_GOusable                        
================================
http://GOusable.com
Flash components development.
Usability services.

> Tim Stickland wrote:
> 
> Hi everyone
>  I have class compiling issues... I have a class 'UserInteractionPanel'
> which is extended by a number of subclasses.
>  UserInteractionPanel does not reference any other classes.
>  Each extended class imports a version of the Delegate class (rewritten to
> allow arguments to be passed to the executed function), then calls the
> super() method in its constructor.
>  When I compile, I get the following errors (and the standard "the name of
> this class, 'UserInteractionPanel', conflicts with the name of another class
> that was loaded" error that seems to appear every time I create a class):
>  **Error** D:\WORK\..\source\classes\GameoverPanel.as: Line 6: There is no
> method with the name 'super'.
> super(controller, panelObj);
>  Now call me stupid, but the super() method should be there inherently (ha
> ha). Anyone know why Flash is confused?
>  Thanks in advance
>  Tim


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to