The Amazing Spider-Man Online Movie Game: Missing letters in some text fields #14832
Labels
A-avm2
Area: AVM2 (ActionScript 3)
bug
Something isn't working
text
Issues relating to text rendering/input
unimplemented
Issues for functionality that hasn't been implemented yet
Describe the bug
In The Amazing Spider-Man Online Movie Game, letters are missing from some text fields:
Due to CORS and ExternalInterface errors, you'll need to test the game in the Ruffle desktop app:
ruffle https://media.numuki.com/spider-man/games/online-movie-game/main.swf --dummy-external-interface
Expected behavior
Text fields should not be missing letters.
Content Location
Page URL: https://www.numuki.com/game/spider-man-online-movie-game/
Main SWF URL: https://media.numuki.com/spider-man/games/online-movie-game/main.swf
This is a multiasset game, so downloading the main SWF is not enough to run it locally. If you want to inspect the files, I recommend using Flashpoint.
Affected platform
Desktop app
Operating system
Windows 10
Browser
No response
Additional information
The game uses a separate fontLib.swf file to store the complete copies of its fonts. Most of the buttons and text fields with this problem are stored in the shellAssets.swf file. This file has incomplete copies of the required fonts with only enough characters to display the text fields' default/initial text. The fontLib.swf file gives custom names to the fonts: AKZIGBEB, AKZIGBER, etc. The text seen in the game is loaded via the config.xml (or
config.preloader.php
in the Flashpoint version). The font is set via CSS. For example, here's the PLAY NOW button:<play style="tall_btn" ><![CDATA[PLAY NOW]]></play>
And later in the XML, here's the applicable CSS:
.tall_btn {font-family:AKZIGBEM;color:#bcbcbc;font-size:22px;}
So I think this needs CSS support in AVM2.
The text was updated successfully, but these errors were encountered: