All users have access to the Flex 3 SDK source code. You can view the ActionScript source files for classes like Button and DataGrid. The source code is in the frameworks\projects\framework\src directory of your Flex installation. The source code for the data visualization projects does not come pre-installed, however. If you have a Flex Builder Professional license key, you can extract the data visualization source code, which include the charting controls, the AdvancedDataGrid classes, the OLAP classes, and the automation classes. To view your Flex Builder license key, select Manage Flex Licenses from the Help menu.
To extract the data visualization source code, you use the DMV-source.jar file. This file is located in the SDK's lib directory. If you are using Flex Builder, the lib directory is located at {Flex Builder 3}\sdks\3.0.0\lib.
The syntax to extract the data visualization source code is as follows:
> java -jar DMV-source.jar {license-file-location} {output-location}
The first argument is the location of the license.properties file. This file must contain a valid Flex Builder 3 Professional license key. The second parameter is the location that you want the data visualization source code to be extracted to.
If you installed Flex Builder 3 Professional, then the license.properties file is located at the following locations, depending on your operating system:
- Windows:
C:\Documents and Settings\All Users\Application Data\Adobe\Flex\ - Mac OS:
/Library/Application Support/Adobe/Flex/ - Linux:
~/.adobe/Flex/
The following example extracts the data visualization source code to the c:\temp\dataviz_source directory on Windows:
java -jar c:\Flex Builder 3\sdks\3.0.0\lib\DMV-source.jar
"C:\Documents and Settings\All Users\Application Data\Adobe\Flex\"
c:\temp\dataviz_source
If you have a valid Flex Builder 3 Professional license key but did not install Flex Builder, then you can create a license.properties file anywhere, and point to it when you use the DMV-source.jar file. The syntax of the license.properties file is as follows:
flexbuilder3={license_key}

The Linux path is actually: ~/.adobe/Flex/ (notice the leading tilde).
This is something I had to show to my students each time I told that Flex 3 SDK is open source... Now I have a link to give ;) Thanks
Mike: I updated the entry to reflect this change.
Thanks!
Very useful! Might be worth mentioning too that a look in Project Properties > Flex Build Path > Library Path tab > Flex sdks > datavisualization.swc will tell you where you need to install the generated sources so Flex Builder can find them on command/control click.
This is a lot easier if you just cut and paste the command (modified as necessary):
java -jar "C:\Program Files\Adobe\Flex Builder 3\sdks\3.1.0\lib\DMV-source.jar" "C:\Documents and Settings\All Users\Application Data\Adobe\Flex"
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.1.0"
in a batch file and then just run the batch file from a command prompt (in windows of course). Don't forget quotes around each of the path strings.
License file locations
Windows XP
-------------------
C:\Documents and Settings\All Users\Application Data\Adobe\Flex\license.properties
Windows Vista
-------------------
C:\ProgramData\Adobe\Flex\license.properties
Mac OSX
-------------------
/Library/Application Support/Adobe/Flex/license.properties
Linux
-------------------
~/.adobe/Flex/license.properties
i agree with mark on just creating a batch file and pasting the commands
java -jar "C:\Program Files\Adobe\Flex Builder 3\sdks\3.1.0\lib\DMV-source.jar" "C:\Documents and Settings\All Users\Application Data\Adobe\Flex"
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.1.0"
if i don't have enough time to extract data i just use http://www.extractingdata.com , the action script source code looks to be interesting as well,
Just i downloaded datavisualization_sdk3.4.zip library for felxbuilder3.0 with sdk 3.4,Now where i need to copy this datavisualization_sdk3.4.zip file to enable charts in my builder...
please Help me, am new to flex.....