Write Actionscript 3 in Phaser 3

Hi,
does it work that you can rewrite Action Script 3 in Phaser3?
I have an Action Script 3 program in OOP style in Packages and .as files

package 
{
    import flash.media.*;

    dynamic public class _soundJackpot extends Sound
    {

        public function _soundJackpot()
        {
            return;
        }// end function

    }
}

There are multiple files

mfg jens

If you want to convert an AS3 project to HTML5 you’re better off using OpenFL as the syntax is nearly identical.