Open sombraguerrero opened 1 year ago
appears to be a different bug, here's a minimal reproduction of the issue
The problem seems to be that Ruffle does not re-resolve text variable paths whenever the objects they point to change. In the game and in Allinol's sample, an MC is placed on the timeline with the same instance name as an MC placed earlier. From then on, that instance name in ActionScript refers to the new MC, but the text variable continues to be bound to the old MC, and thus does not update as expected. Here's another sample to demonstrate: DupMCTextVariablePath.zip
On frame 2, dup_mc
now refers to the blue movieclip, but the text variable continues to be bound to the older green movieclip. So updating the variable to the value "Frame 2" does not update the text field.
Describe the bug
I was waiting for an exceptionally long time to log my own issue on this one because I was certain that resolving #2181 was going to take care of this, but it did not. So, I attach the SWF here for further examination. tuga.zip
Expected behavior
Mid-game score display object should update progress.
Affected platform
Desktop app
Operating system
Windows 11
Browser
Anything Chromium Based
Additional information
No response