Skip to content

Commit

Permalink
avm2: Add AIR flash.system::ImageDecodingPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpie authored and Dinnerbone committed Oct 26, 2023
1 parent 27831d7 commit 444af0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/avm2/globals/flash/system/ImageDecodingPolicy.as
Original file line number Diff line number Diff line change
@@ -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";
}
}
1 change: 1 addition & 0 deletions core/src/avm2/globals/globals.as
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 444af0e

Please sign in to comment.