-
-
Notifications
You must be signed in to change notification settings - Fork 882
Old SWF file not running (AS2) #11322
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
Comments
Thank you for the report. Ruffle doesn't return the expected value for Replacing
I made a minimal test that reproduces the issue (SWF available here): this.createEmptyMovieClip("mc", 1);
this.mc.onEnterFrame = function() {
trace(this); // "_level0.mc" in FP and Ruffle (note: P-code is "Push register1")
var v = "";
var a = eval("this" + v); // note: "Push 'this' GetVariable" would produce the same result
trace(a); // "_level0" in FP, "[type Object]" in Ruffle
trace(a == _global); // "false" in FP, "true" in Ruffle
trace("");
var a = eval("this.mc" + v);
trace(a); // "_level0.mc" in FP, "undefined" in Ruffle
delete this.onEnterFrame;
}; Note that before #7239, @moulins, as the author of #7239, I think you could have an idea of why this issue is happening. |
Its not my codes, I tested old swf files and see this problem. I hope Ruffle development gone more faster to complete. |
Thanks for reporting it, we'll do our best to fix the issue affecting the original file, so let's keep this bug report open. |
It seems that our logic for "inheriting" I think the "most correct" way of fixing this would to remove the |
Describe the bug
Working on Flash Player not working on Ruffle DEMO page.
confeti.zip
Expected behavior
Not running.
Affected platform
Online demo
Operating system
Chrome
Browser
No response
Additional information
confeti.zip
The text was updated successfully, but these errors were encountered: