Archive for March, 2008

Listening for an FLV file’s metadata using the VideoDisplay control in Flex (Flex 2 edition)

The following example shows how you can use the internal MetadataEvent.METADATA constant to detect when the VideoDisplay has parsed the metadata from an FLV file in Flex 2.

Full code after the jump.

Continue reading…

Checking out the source code for the charting and AdvancedDataGrid controls in Flex 3

Here’s another question I’ve seen come up a few times. “Q: Where can I find the source to the Flex Charting controls and/or the AdvancedDataGrid control?”

A: The charting controls and AdvancedDataGrid controls are only available within the Flex 3 Professional edition. In order to view the source code for these classes, you need to input your Flex 3 serial number, and then you should be able to find the source code in the following folder:
C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\fbpro\projects\datavisualization\src\

Happy Flexing!

Installing the Flex Skin Design Extensions and Flex Component Kit for Flash CS3

I’ve seen a few people ask this question lately, “Q: Where can I find the latest version of the Flex Component Kit for Flash CS3?”.

A: The Flex Component Kit (FCK) can now be found at http://www.adobe.com/go/flex3_cs3_swfkit.
In earlier Flex 3 betas, the FCK was included with the Flex SDK (see, “Installing the Flex Component Kit for Flash CS3″ for more details on installing the component kit). In later SDK builds, we decided to remove the FCK from the SDK and post it separately online. Documentation for the FCK can be found at http://www.adobe.com/go/flex3_flexflashcomponents (PDF).

If you are an Fireworks CS3, Flash CS3, Illustrator CS3, and/or Photoshop CS3 user (or work with somebody who is), you’ll also be pleased to know that you can find the Flex Skin Design Extensions at the same URL, http://www.adobe.com/go/flex3_cs3_swfkit. For more information on importing skins into Flex Builder, see http://www.adobe.com/go/flex3_skinning_doc (PDF_. Also, feel free to head over to blog.flexexamples.com and then check out my “Installing the Flex Skin Design Extensions for CS3 from Adobe Labs” entry (which is a bit out of date. but hopefully still somewhat relevant).