Which version of the Flex SDK should be used to support Flash Player10.0?

I am developing a Flash application using the Flex SDK, ActionScript and a text editor and compiling an AS file on the command line.

According to the Flash Player Version Penetration on the Adobe website:
http://www.adobe.com/products/player_census/flashplayer/version_penetration.html

The speed of people using Flash Player 10.1 and 10.2 is insufficient.

So, I want my flash application to support Flash Player 10.0 because I want more people to use my application.

The target player of Flex SDK 4.5.1 and 4.5.0 is Flash Player 10.2.0.
The target player of Flex SDK 4.1.0 and 4.0.0 is Flash Player 10.0.0.
The target player of Flex SDK 3.5.0 is Flash Player 9.0.124.

To support Flash Player 10.0, should I use Flex SDK 4.1.0 instead of the latest version of Flex SDK 4.5.1?
Or is it better to use Flex SDK 3.5.0 to support Flash Player 9?

+6
source share
2 answers

I would recommend using the latest version of the SDK, which supports the version of Flash Player that you must support. You can specify which runtime player you want to configure using the compiler argument of the target player. Usually:

 -target-player=10.0 

More details . To quote some relevant passages:

For Flex 4.0, only the supported target-player 10.0.0 parameter value is supported. For Flex 4.1, the default value is 10.1.0. For Flex 4.5, the default value is 10.2.0.

The minimum value for Flex 4.5 is 10.2.0. For Flex 4.0 and 4.1, the minimum value is 10.0.0 (although Flex 4.1 includes Player 10.1).

+5
source

If penetration is important to you, ask yourself: does Flex 4.x have something you really need? 3.5 is a good SDK (and in a sense, adding Spark introduced some difficulties), then the main disadvantages that I can recall (IMO - I'm not a Spark fan) will be:

  • No two-way bindings
  • Porting to 4.x on the road will be a pain due to namespace changes.

If you don't care about these things, and you really don't want to use any other new features in 4.x, I would just use 3.5. For example, if you really need a tight user interface setup, you want to use Spark - so you need 4.x. (4.1 seems like a decent compromise.)

+1
source

Source: https://habr.com/ru/post/896756/


All Articles