ruffle-rs / ruffle

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

avm1: .swf file does not save to .sol file on ruffle self-hosted on web server and scroll code in .swf file doesn't work #16115

Open Ghost-Program opened 2 months ago

Ghost-Program commented 2 months ago

Describe the bug

.sol file doesn't do a save update when saving input text...

Expected behavior

.sol file doesn't do a save update when saving input text to it on my web server using self-hosted ruffle. Also scroll code does not work in buttons to navigate up and down inside a .txt and .sol file using loadVariables to see those files in the .swf file during runtime. This is the scroll code for the buttons:

_root.TextFile.scroll++;
_root.TextFile.scroll--;

_root.SolFile.scroll++;
_root.SolFile.scroll--;

And this is the code to view those files in the .swf during live runtime:

_root.TextFile.loadVariables ("TextFile.txt", "/");

_root.SolFile.loadVariables ("SolFile.sol", "/");

Codes above work in flash player but not in ruffle player.

Content Location

Save File Scrolling Issue.zip

Affected platform

Self-hosted version

Operating system

Windows 10 and up.

Browser

Latest Chome and Firefox web browsers.

Additional information

No response

Ghost-Program commented 2 months ago

Wow! It has been a week and no one is looking into this issue I have dealing with .txt and .sol files not being saved on my server using ruffle.

Ghost-Program commented 1 month ago

Just realized I sent the wrong .zip file. Here is the right one: Save File Scrolling Issue 2.zip