From ead80a98a3ce857780048d49b9ceb770d5e32441 Mon Sep 17 00:00:00 2001 From: Paulo Medeiros Date: Sun, 21 Jul 2024 22:27:58 +0000 Subject: [PATCH] avm2: Stub flash.display.Stage.setAspectRatio --- core/src/avm2/globals/flash/display/Stage.as | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/avm2/globals/flash/display/Stage.as b/core/src/avm2/globals/flash/display/Stage.as index 9c579550aa49..425cada6f1dc 100644 --- a/core/src/avm2/globals/flash/display/Stage.as +++ b/core/src/avm2/globals/flash/display/Stage.as @@ -1,4 +1,5 @@ package flash.display { + import __ruffle__.stub_method; import __ruffle__.stub_getter; import __ruffle__.stub_setter; import flash.accessibility.AccessibilityProperties; @@ -278,5 +279,10 @@ package flash.display { stub_setter("flash.display.Stage", "mouseLock"); this._mouseLock = value; } + + [API("668")] + public function setAspectRatio(newAspectRatio:String):void { + stub_method("flash.display.Stage", "setAspectRatio"); + } } }