From 576c7e1b14434845db27a6feefdf0e20b90e0b6c Mon Sep 17 00:00:00 2001 From: Lord-McSweeney <84632019+Lord-McSweeney@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:46:11 -0800 Subject: [PATCH] avm2: Add `AccessibilityImplementation.accDoDefaultAction` --- .../flash/accessibility/AccessibilityImplementation.as | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/avm2/globals/flash/accessibility/AccessibilityImplementation.as b/core/src/avm2/globals/flash/accessibility/AccessibilityImplementation.as index 44db7038565a..7627683a78e8 100644 --- a/core/src/avm2/globals/flash/accessibility/AccessibilityImplementation.as +++ b/core/src/avm2/globals/flash/accessibility/AccessibilityImplementation.as @@ -10,6 +10,8 @@ package flash.accessibility { this.stub = false; } + public function accDoDefaultAction(childID:uint):void { } + public function accLocation(childID:uint):* { return null; } @@ -29,7 +31,7 @@ package flash.accessibility { } public function get_accRole(childID:uint):uint { - throw new Error("Error #2143, AccessibilityImplementation.get_accRole() must be overridden from its default.", 2143); + throw new Error("Error #2143: AccessibilityImplementation.get_accRole() must be overridden from its default.", 2143); } public function get_accSelection():Array { @@ -37,7 +39,7 @@ package flash.accessibility { } public function get_accState(childID:uint):uint { - throw new Error("Error #2144, AccessibilityImplementation.get_accState() must be overridden from its default.", 2144); + throw new Error("Error #2144: AccessibilityImplementation.get_accState() must be overridden from its default.", 2144); } public function get_accValue(childID:uint):String {