From a119bfa102f20b1cf6ab0de2da3b624949eddaf0 Mon Sep 17 00:00:00 2001 From: relrelb Date: Fri, 24 Jun 2022 16:44:41 +0300 Subject: [PATCH] avm2: Implement `flash.display.FocusDirection` --- core/src/avm2/globals/flash/display/FocusDirection.as | 7 +++++++ core/src/avm2/globals/globals.as | 1 + 2 files changed, 8 insertions(+) create mode 100644 core/src/avm2/globals/flash/display/FocusDirection.as diff --git a/core/src/avm2/globals/flash/display/FocusDirection.as b/core/src/avm2/globals/flash/display/FocusDirection.as new file mode 100644 index 000000000..85dfdbd09 --- /dev/null +++ b/core/src/avm2/globals/flash/display/FocusDirection.as @@ -0,0 +1,7 @@ +package flash.display { + public final class FocusDirection { + public static const TOP: String = "top"; + public static const BOTTOM: String = "bottom"; + public static const NONE: String = "none"; + } +} diff --git a/core/src/avm2/globals/globals.as b/core/src/avm2/globals/globals.as index 6479c3018..4568a378d 100644 --- a/core/src/avm2/globals/globals.as +++ b/core/src/avm2/globals/globals.as @@ -7,6 +7,7 @@ include "flash/display/BlendMode.as" include "flash/display/CapsStyle.as" include "flash/display/ColorCorrection.as" include "flash/display/ColorCorrectionSupport.as" +include "flash/display/FocusDirection.as" include "flash/geom/ColorTransform.as" include "flash/geom/Orientation3D.as" include "flash/geom/Point.as"