diff --git a/core/src/avm2/globals/flash/system/ImageDecodingPolicy.as b/core/src/avm2/globals/flash/system/ImageDecodingPolicy.as new file mode 100644 index 000000000000..6481bfff38dc --- /dev/null +++ b/core/src/avm2/globals/flash/system/ImageDecodingPolicy.as @@ -0,0 +1,6 @@ +package flash.system { + public final class ImageDecodingPolicy { + public static const ON_DEMAND:String = "onDemand"; + public static const ON_LOAD:String = "onLoad"; + } +} diff --git a/core/src/avm2/globals/globals.as b/core/src/avm2/globals/globals.as index e2670d51f82c..44f58b3f4f7c 100644 --- a/core/src/avm2/globals/globals.as +++ b/core/src/avm2/globals/globals.as @@ -306,6 +306,7 @@ include "flash/system/ApplicationDomain.as" include "flash/system/Capabilities.as" include "flash/system/IME.as" include "flash/system/IMEConversionMode.as" +include "flash/system/ImageDecodingPolicy.as" include "flash/system/LoaderContext.as" include "flash/system/JPEGLoaderContext.as" include "flash/system/MessageChannelState.as"