Actionscript interfaces creates wrong code

When I have a class linked to an interface and even when choosing the implementation stereotype the code generated uses the ‘extends’ keyword rather than ‘implements’.

Am I doing something wrong?

Hi Chrisivens,

Thanks for your post. I guess you created the class with Generalization instead of Realization. If you would like to implement the Interface, please select Realization → Class on the Interface for creating the class (please see attached image). Hope this helps. Please let me know if there is any further inquiry.

Best regards,
Lilian Wong


realization.png

That would make perfect sense, thank you.

Hi Chrisivens,

It’s my pleasure. Please feel free to have a post again if there is any question.

Best regards,
Lilian Wong