'Adobe Animate - link a symbol to a class in html canvas mode

I have opened my old Flash project in Adobe Animate, then created Html Canvas project form it. I understand I can use ActionScript in Html Canvas project. I can see old ActionScript links to symbols from Flash project (left part of the screenshot), but when I select new symbol i have created, I cannot create link to AS3 class (right part of the screenshot). How do I link the symbol to the class in new workflow?

Screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source