Screen Flash on Title Screen

Hello 🙂 I'm playing around with the title screen and I'm wondering if its possible to add a screen flash.

Should this work?
Code:
$gameScreen.startFlash(color, duration);

Edit: I'm guessing the $gameScreen.startFlash() only applies when on the map?
I also found this -
Code:
Sprite_Animation.prototype.createScreenFlashSprite = function() {
    this._screenFlashSprite = new ScreenSprite();
    this.addChild(this._screenFlashSprite);
};
This looks like it uses a full screen sprite to create a flash effect. Ill have a look into this some more.

Edit: Got this working using the screen flash sprite 🙂

Original thread: https://forums.rpgmakerweb.com/threads/screen-flash-on-title-screen.113735/