When overriding a method, the signature must be the same.
That includes the exact parameter types.
Alger
Nathan Arizona schrieb:
>
> I am passing in a custom event that extends Event into a class that
> implements an interface. I get an incorrect signature and I am
> wondering why? Why do I not
Change your implementation method to something like.
public override function execute(event:Event):void
{
if( event is LoginEvent )
{
var loginEvent : LoginEvent = event as LoginEvent;
2 matches
Mail list logo