From 840128d81af771a1a67a57e7074f157dc28c0a7e Mon Sep 17 00:00:00 2001 From: Tom Schuster Date: Sat, 27 Jul 2024 13:27:47 +0200 Subject: [PATCH] avm2: flash.sensors.Accelerometer extends EventDispatcher --- core/src/avm2/globals/flash/sensors/Accelerometer.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/avm2/globals/flash/sensors/Accelerometer.as b/core/src/avm2/globals/flash/sensors/Accelerometer.as index a719bab6bfa0..a7e3e8d29153 100644 --- a/core/src/avm2/globals/flash/sensors/Accelerometer.as +++ b/core/src/avm2/globals/flash/sensors/Accelerometer.as @@ -1,6 +1,7 @@ package flash.sensors { + import flash.events.EventDispatcher; [API("667")] - public class Accelerometer { + public class Accelerometer extends EventDispatcher { public static function get isSupported():Boolean { return false; }