ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.66k stars 813 forks source link

Error #1069: Property flash.system::ImageDecodingPolicy not found #13523

Open Atom-FG opened 1 year ago

Atom-FG commented 1 year ago

Describe what you were doing

Just start .swf on localhost, from .html page. SWF: main.zip

What does the crash message say?

ERROR core/src/display_object/movie_clip.rs:2188
Got "ReferenceError: Error #1069: Property flash.system::ImageDecodingPolicy not found on global and there is no default value."
when constructing AVM2 side of movie clip of type com.brokenbulb.miscrits.main::MiscritsPreloader

Ruffle Version

nightly 2023-10-11

Affected platform

Self-hosted version

Operating system

Windows 10

Additional information

Could it be because of Adobe Air?

115.3.1esr Firefox browser

Ruffle Info

Version: 0.1.0 Name: nightly 2023-10-11 Channel: nightly Built: 2023-10-11T00:22:14.322Z Commit: 0ef28604b16bb9b27ee9291f527a1827d7713b7b Is extension: false

Metadata

width: 760 height: 650 frameRate: 30 numFrames: 1 swfVersion: 18 backgroundColor: undefined isActionScript3: true uncompressedLength: 1604269

adrian17 commented 1 year ago

Looks like this is an old mobile game? It runs on AIR, which is not Flash Player but an extension of it that we don't currently support at all (and we're unsure if we actually will).

Atom-FG commented 1 year ago

My suspicions were confirmed - this is really on Adobe Air game. Thank you all for the wonderful emulator!

evilpie commented 11 months ago

This gets a bit further along now, but it's missing the file miscrits_world.swf so this will probably never work without it.

ERROR ruffle_core::loader: Error during movie loading of "file:///home/tom/Desktop/miscrits_world.swf": FetchError("Can't open file file:///home/tom/Desktop/miscrits_world.swf: No such file or directory (os error 2)")