Posts tagged "flash player 10.1"

Targeting Flash Player 10.1 Beta in Flash Builder 4

flash_player_beta.png

  1. Install the Flash Player 10.1 Beta http://labs.adobe.com/downloads/flashplayer10.html
  2. Install the debugger player from the same location
  3. Download playerglobal.swc http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_globalswc.zip
  4. Copy playerglobal.swc to the following folder …/Adobe Flash Builder
    4/sdks/4.0.0/frameworks/libs/player/10.1/playerglobal.swc
  5. In your project properties, under Adobe Flash Player options, select “Use a specific version” and choose 10.1.0.

To do this with SDK 3.x, replace the player/10/playerglobal.swc with the 10.1 version of the SWC. You may want to make a backup copy before you do this.

FYI: Because Flash Player 10.1 is still in beta, it is not included in the the Flash Builder 4 release.

Share on Facebook

Using the AIR 2 SDK in Flash Builder 4

The release notes on Adobe Labs have instructions for overlaying the SDK in Flex Builder 3 with SDK 3.2.0 http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes#AIR_2_SDK. You can follow these same instructions for Flash Builder 4 and the Flex 4 SDK.

Be sure that you follow these instructions exactly. You might expect that you can simply copy the files into the 4.0.0 folder and everything should work right? Well, (1) that’s not how it works and (2) you want to keep the AIR 2 beta and the Flex 4 release as separate SDKs in your development environment so that you can still use the stable Flex 4 SDK.

Simply copying the AIR 2 SDK into the existing 4.0.0 folder has some side effects. The most obvious effect is that once Flash Builder caches the Flex 4 framework, it won’t re-parse SWCs in the SDK library path. The most obvious one is airglobal.swc. Do this the wrong way and you’ll find that classes like TouchEvent are missing from code hints.

Share on Facebook