Hello xdwang,
Unfortunately, the opentps_flash extension is no longer maintained, and it was not developed by the OpenTPS team. Therefore, we unfortunately cannot provide support or guidance on adapting it to recent OpenTPS versions.
The extension may work with OpenTPS 1.0, which is the closest version compared to the one used originally for the flash module. You can find OpenTPS 1.0 among the releases on the OpenTPS GitLab.
We’re sorry we cannot provide a more up-to-date solution, but we hope this helps you get it running.
Best regards,
Romain Schyns