ruffle-rs / ruffle

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

problem with text color on Yojijukugo Flash (四字熟語 Flash) #1863

Closed pingval closed 3 years ago

pingval commented 3 years ago

With Ruffle, text of panel is displayed in not BLACK but GREEN. I tested with Ruffle Nightly 2020-12-06 on Windows 10 Home 64bit.

Yojijukugo Flash (四字熟語 Flash): https://www.gamedesign.jp/flash/yojifla/yojifla.html

Adobe Flash Player 32: capture_06122020_191757

Ruffle Nightly 2020-12-06: capture_06122020_191912

JMcKiern commented 3 years ago

The issue is that EditText.textColor doesn't seem to be implemented.

The initial color of the Kanji sprite is #ff00ff33 (green) as in the image in the Ruffle Nightly screenshot.

This gets changed to black by setting tfKanji.textColor = 0;. Ruffle fails to update the color here.