Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Flash Player 11.5 or AIR 3.5 required to use this feature. #19490

Open
ylazy opened this issue Feb 11, 2025 · 4 comments · May be fixed by #19571
Open

Error: Flash Player 11.5 or AIR 3.5 required to use this feature. #19490

ylazy opened this issue Feb 11, 2025 · 4 comments · May be fixed by #19571
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working

Comments

@ylazy
Copy link

ylazy commented Feb 11, 2025

Describe the bug

My swf works with Flash Player and Ruffle on desktop, but fails on the web. I got this error:

ERROR core/src/display_object/movie_clip.rs:2171 Got "Error: Flash Player 11.5 or AIR 3.5 required to use this feature." when constructing AVM2 side of movie clip of type main::Main

Image

Expected behavior

My swf should work properly.

Content Location

application.zip

Affected platform

Desktop app

Operating system

Windows 11 24H2

Browser

Chrome 133.0.6943.59 (latest)

Additional information

No response

@ylazy ylazy added the bug Something isn't working label Feb 11, 2025
@ylazy
Copy link
Author

ylazy commented Feb 17, 2025

Hi!

Is there anything I can do to help tracking this issue?

I'm building as3 libs that support air/ruffle and I need to resolve this issue to continue.

Thanks!

@kjarosh kjarosh added the A-web Area: Web & Extensions label Feb 17, 2025
@kjarosh
Copy link
Member

kjarosh commented Feb 17, 2025

The culprit is that Error.getStackTrace returns null on the web version of Ruffle. Stack traces are currently enabled only when logging at INFO level. Try the following configuration:

window.RufflePlayer.config = {
    "logLevel": "info",
};

@Lord-McSweeney @adrian17 is it that important to have stacktraces enabled only for >=INFO? If it doesn't improve performance by a lot maybe we could just have them always enabled?

@kjarosh kjarosh added question Further information is requested and removed bug Something isn't working labels Feb 17, 2025
@ylazy
Copy link
Author

ylazy commented Feb 18, 2025

Thank you @kjarosh
I set logLevel to info and it worked.
I think stacktraces is an important feature and it should be enabled by default.

@kjarosh
Copy link
Member

kjarosh commented Feb 19, 2025

Related:

Now looking a this it seems like a bug.

@kjarosh kjarosh added bug Something isn't working and removed question Further information is requested labels Feb 19, 2025
@Lord-McSweeney Lord-McSweeney added A-avm2 Area: AVM2 (ActionScript 3) and removed A-web Area: Web & Extensions labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants