上个月, 新同事刚刚开始接触, 问我有没有例子, 推荐了Test Drive, 之前有为Athena framework for Flex写过一个Test Drive(比官方的增加服务器端交互, 使用Java&Derby). 感觉Test Drive还是不错的入门资料.
但同事说 版本不同, 代码下载下来都是错误….
昨天看到Flex Doc Team 博客上关于代码范例的文章:
Previously, I blogged with a link to a ZIP file for the 4.5 samples code that is used in the core documentation. This blog entry was pretty popular and a lot of folks downloaded the ZIP file. However, many users are still using Flex and Flash Builder 3.x, so here is a link to a ZIP file that contains the source code and assets for the Flex 3.x examples:
As with the 4.5 examples, this includes the *.mxml and *.as files, as well as the stylesheets, images, videos, audio files, and other assets that they use. This ZIP file does not include the compiled SWF files for these examples, but it should be useful to you if you like to search for and look at source code for the Flex 3.x examples.
The ZIP file is organized into 4 main groups:
- devapps: Core examples including the MX component set and containers, effects, validators, and item renderers.
- buildapps: Examples that focus on topics such as logging, deploying, and optimizing apps.
- createcomps: Examples that focus on custom component development.
- datavis: Data visualization examples including the charting examples as well as the OLAPDataGrid and AdvancedDataGrid components.
NOTE: If you found this blog post but are actually looking for the Flex 4.5 examples, you can get them here:
-Matthew J. Horn
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.