The following example shows how you can rotate a Flex Image control along its x-axis, y-axis, and z-axis using the new rotationX, rotationY, and rotationZ properties in Flash Player 10 and Flex “Gumbo”.
Full code after the jump.
The following example shows how you can rotate a Flex Image control along its x-axis, y-axis, and z-axis using the new rotationX, rotationY, and rotationZ properties in Flash Player 10 and Flex “Gumbo”.
Full code after the jump.
The following example shows how you can view a Flex application’s generated source code by adding the -keep compiler argument in Flex Builder.
To add a compiler argument in Flex Builder, launch the Project Properties dialog box by selecting Project > Properties from the main menu, select the Flex Compiler option from the left menu, and type “-keep” at the end of the Additional compiler arguments text input field (see Figure 1).

Figure 1. Flex Builder Project Properties dialog box.
Full code after the jump.
Continue reading ‘Viewing a Flex application’s generated source code’
In a previous entry, “Downloading and installing Flex SDK builds from opensource.adobe.com”, we saw how to download and install nightly builds of the Flex 3 SDK into Flex Builder 3.
Setting up the beta Gumbo SDK has a couple little “gotchas” which can be a little tricky.

Figure 1. Flex Builder Project Properties dialog box.
If you forget to change the Flash Player detection to Flash Player 10, you may see the following compiler errors in your Flex Builder Problems tab:
1046: Type was not found or was not a compile-time constant: ContentElement.
1046: Type was not found or was not a compile-time constant: ElementFormat.
1046: Type was not found or was not a compile-time constant: FontMetrics.
1046: Type was not found or was not a compile-time constant: GroupElement.
1046: Type was not found or was not a compile-time constant: TextElement.
1046: Type was not found or was not a compile-time constant: TextLine.
If you haven’t already installed the Flash Player 10 beta yet, you can find the various installers in the downloaded SDK’s /runtimes/player/10/{OS}/ directory.
Now that you have the Gumbo SDK and Flash Player 10 installed, now it’s time to write a simple test file using the latest Flex SDK.
Full code after the jump.
Continue reading ‘Using the beta Gumbo SDK in Flex Builder 3′