I keep getting this error in a Flash instrument I'm making:
1024 overriding a function that is not marked for override
The error was found in this line:
public function stop():void
I keep getting this error in a Flash instrument I'm making:
1024 overriding a function that is not marked for override
The error was found in this line:
public function stop():void
The error indicates that you have a method named stop
in base class. So in derived class you need to add override
in the method declaration.
public override function stop():void
^
You cannot use the function name stop in a class that extends MovieClip.
© 2022 - 2024 — McMap. All rights reserved.