Fixed: Target flash player version in FlashDevelop and IDEA projects

This commit is contained in:
Jindra Petřík
2024-08-14 06:13:05 +02:00
parent 672a5dc754
commit 13aacc83f1
4 changed files with 15 additions and 3 deletions

View File

@@ -81,6 +81,9 @@ public class FlashPlayerVersion {
* @return Flash player version or null if not found
*/
public static String getFlashPlayerBySwfVersion(int swfVersion) {
if (swfVersion > 50) {
return "50.0"; //??
}
return swfVersionToFlashPlayer.get(swfVersion);
}