swf‐version compiler option - BowlerHatLLC/vscode-as3mxml GitHub Wiki
When targeting a specific version of Adobe Flash Player or Adobe AIR, you may need to specify the swf-version compiler option when running the mxmlc or compc compiler executable. The following chart shows the relationships between Adobe AIR versions, Adobe Flash Player versions, and swf-version values.
| AIR Version | Flash Version | SWF Version |
|---|---|---|
| 51.0 | N/A | 51 |
| 50.0 | N/A | 50 |
| 33.1 | N/A | 44 |
| 32.0 | 32.0 | 43 |
| 31.0 | 31.0 | 42 |
| 30.0 | 30.0 | 41 |
| 29.0 | 29.0 | 40 |
| 28.0 | 28.0 | 39 |
| 27.0 | 27.0 | 38 |
| 26.0 | 26.0 | 37 |
| 25.0 | 25.0 | 36 |
| 24.0 | 24.0 | 35 |
| 23.0 | 23.0 | 34 |
| 22.0 | 22.0 | 33 |
| 21.0 | 21.0 | 32 |
| 20.0 | 20.0 | 31 |
| 19.0 | 19.0 | 30 |
| 18.0 | 18.0 | 29 |
| 17.0 | 17.0 | 28 |
| 16.0 | 16.0 | 27 |
| 15.0 | 15.0 | 26 |
| 14.0 | 14.0 | 25 |
| 13.0 | 13.0 | 24 |
| 4.0 | 12.0 | 23 |
| 3.9 | 11.9 | 22 |
| 3.8 | 11.8 | 21 |
| 3.7 | 11.7 | 20 |
| 3.6 | 11.6 | 19 |
| 3.5 | 11.5 | 18 |
| 3.4 | 11.4 | 17 |
| 3.3 | 11.3 | 16 |
| 3.2 | 11.2 | 15 |
| 3.1 | 11.1 | 14 |
| 3.0 | 11.0 | 13 |
| 2.7 | 10.3 | 12 |
| 2.6 | 10.2 | 11 |
| 1.5, 2.0 | 10.0, 10.1 | 10 |
| N/A | 9.0.115.0 | 9 |
Historical version information sourced from Adobe Developer Connection: Flash Player and Adobe AIR feature list.