用flashdevelop 导出 SWC
先关闭FlashDevelop,下载安装ExportSWC,安装好后,打开FlashDevelop,就会发现工具栏上多了一个东东
。
先关闭FlashDevelop,下载安装ExportSWC,安装好后,打开FlashDevelop,就会发现工具栏上多了一个东东
。
Flex PMD是一个代码质量检查工具。
可以跟踪你编写代码的陋习,并且帮你审核源文件,然后把如下一些常见的错误显示出来:
未使用的代码(函数、变量、常量等等)
低效率的代码(动态过滤的误用、繁琐的构造函数)
过于复杂的代码(嵌套循环、太多的条件表达式等等)
超长的代码(类,方法等等)
Flex组件生命周期的不正确使用(不正确的属性等等)
FlashDevelop发布了一个插件,让您可以在FD3 IDE中使用FlexPMD,并且可以把正确的结果显示在FD3的Output窗口中。
安装:
1.FD(FLexPMD插件) : http://www.kemelyon.com/flashdevelop/flashdevelopPMD.zip
2.拷贝PMD.dll到FD软件中的plugins文件夹中。
3.从Adobe Labs下载flexPMD
http://opensource.adobe.com/wiki/display/flexpmd/Downloads
设置 “PMD jar的位置” : Tools -> Settings -> FlexPMD 为“flex-pmd-command-line-1.0.RC3.jar”的位置。
用法
按Ctrl – Shift – A运行当前的项目FlexPMD。此版本只检查“src”文件夹里面的代码
原文:http://www.flashdevelop.org/community/viewtopic.php?t=3039
- download FlashDevelop 3 SVN build from rev. 2297 (updated 17/05/08)
- or build FD from the source
New features:
- new target version in project properties
- minor version in advanced compiler options
- supports the updated SWC format for FP10
- typed code completion for Vector types!

Install Flash Player 10:
- Webbrowser plugin:
http://labs.adobe.com/technologies/flashplayer10/
It is recommended to only install the player on one browser, preferably Internet Explorer (ActiveX) – because it can be used to play SWFs directly in FlashDevelop embedded player.
- Standalone content debugger (“External player”):
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/win/
Configure the Flex SDK nightly build:
- download the latest nightly build of Flex SDK
- edit {Flex SDK}\frameworks\flex-config.xml and replace:
Code:
<path-element>libs/player/9/playerglobal.swc</path-element>
…
<path-element>libs/player/9</path-element>
by
Code:
<path-element>libs/player/{targetPlayerMajorVersion}/playerglobal.swc</path-element>
…
<path-element>libs/player/{targetPlayerMajorVersion}</path-element>
It is recommended to set this SDK as a “Custom SDK” in your FD project’s properties.
Configuring a FD project:
- set an AS3 project target version to Flash Player 10
- set the project’s Custom SDK (read above)
- add path\to\flexsdk\frameworks\libs\player\10\playerglobal.swc in the project’s External Libraries (project compiler options).
Sample FlashDevelop project:
Here’s a sample project which showcases the new typed Vector and perspective drawing:
- Download the sample Flash Player 10 project (generated SWF included)
(to build it you will have to change the Project’s Custom SDK and SWC path in the External Libraries)
只是个人在使用过程中的一点积累:
1.设置代码:字体,颜色,大小,及背景颜色,Tools – > Application Files… – > Settings – > ScintillaNET.xml
2.快速储存Snippet(片判):在编辑视图中,选择需要的代码,点右键 Save as Snippet…,以后要用的话就 Ctrl + B 输入你储存的名字就可以输出整段代码了。
未完待续
更新了以下东西:
* Quick Find tool added, similar to one in Firefox 快速查找工具添加,类似Firfox中的
* Start page plugin added (contributed by Mike McMullin) 开始页面插件添加
* Flex debugger integrated for trace captures (no more FlashConnect) flex 调试完整的输出捕捉(不再 FlashConnect)了。
* Completion is now "always on", as in Visual Studio (configure in AScompletion settings)
* Project types explorer (Tools > Flash Tools) 工程类型管理器
* Command to rebuild the completion cache (Tools > Flash Tools)
* Custom commands to run the project after build
Some things done:
* Revised installer texts and selected components
* Improved local code formater (enable from ASCompletion settings)
* Many general completion and UI fixes
Notice:
* From now on by default, user-related files are installed in the user’s applications files (<userdir>\Local Settings\Application Data\FlashDevelop).
This can be disabled in the setup: check "Standalone Mode". You can navigate to this location from the main menu: Tools > Application Files.
* The Flex SDK (2 or 3) is required for Actionscript 3 development (if you don’t use Flash CS3).
* Java 1.5+ is required for the Flex compiler (Actionscript 3).