Abobe Flash in RPG Maker MV

I was really curious if it was possible to make a mini game in flash and add it to RPG Maker MV. Something like the game Snake or Break Out. The idea is that one of the powers your character can choose is mind control. When your character uses his powers on someone I want it to start a mini game. If the character wins they can control the NPCs mind. For example your character need to find a way to get into a house. You find the owner outside. So you talk to him, then choose to mind control him. That is when the mini game will start.


So is there a way to make a mini game in flash and put it in my main game or is there another program I can use to make a mini game and use that in my main game?


Please and thank you.
Once in my university there was a presentation where some people made educative games in flash and kept score through a webpage because the page was in javascript and flash's flashscript, at least at the time, was compatible for a quick conversion.
No idea if it still works, or if it is possible with RPG Maker...


But you can make the minigames with javascript itself, I think?
Why not just write the minigame in RMMV itself?

Original thread: https://forums.rpgmakerweb.com/threads/abobe-flash-in-rpg-maker-mv.70519/