易截截图软件、单文件、免安装、纯绿色、仅160KB

Flex单元测试工具(FlexMonkey)


Testing Flex applications with FlexMonkey 1.0
Without automation, testing the UI components of your Flex
application can be tedious and time consuming. Adobe includes an
automation framework in Flex to enable developers to create automated
tests that operate at the GUI level. FlexMonkey
1.0 is an open source AIR application that leverages the Flex
automation framework to record and play back GUI interactions with your
Flex application. With FlexMonkey, your tests can drive your
application views directly, making it easy to exercise the view
components and the logic behind them. Integration with the automation
framework is under-the-hood
; you don't need to make any changes to your application source or compilation method to use FlexMonkey.
In this article, I'll show you how to get started using FlexMonkey
as part of your development flow. FlexMonkey can launch your Flex
application in different ways depending on your needs. It can launch
your application directly from your Flex Builder project, it can
connect to your application running in a browser, or it can be linked
into your application. In this article, you'll learn how to launch it
directly from your Flex Builder project.
开源的Flex测试工具FlexMonkey ,基于AIR,Adobe网站上有一篇快速入门教程 http://www.adobe.com/devnet/flex/articles/flexmonkey.html
,详细可以访问FlexMonkey的网站 http://www.flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.html
,也可以到google网站去下载 http://code.google.com/p/flexmonkey/


相关文档:

flex 各组件对应的样式属性

Application组件样式属性
       backgroundImage               背景图             使用Embed(source=" ");来应用
   & ......

flex event实例

EventArgExtend.as
package myeventhelper
{
public class EventArgExtend
{
public function EventArgExtend()
{
}
public static function create(f:Function,...arg):Function //addEventListener注册事件进行传递参数的方法
{ //EventArgExtend.create(comB.onGetParentTotal,this)
......

理解 flex actionscript

as 不允许overload...即对于同一个函数名不能有不同的参数列表和返回值
类中的geter 和 setter 与其他的方法一样,除了
1.get函数没有参数,并且必须有返回值,并且必须有get关键字
2.set函数必须有参数并且没有返回值,并且必须有set关键字
Java代码
public function get sampleProperty( ):Str ......

Flex Chart 技巧 移除浮水印

Flex Chart 虽然有提供完整的试用功能
不过编译完成的图表会加上水印
 “Flex Data Visualization Trial”的字样。
既然是 AS,那事情就简单了
只要在 Flex Project 內加上以下 Class:
一定要创建mx.charts.chartClasses,覆盖FLEX自带的ChartLicenseHandler
package mx.charts.chartClasses { ......

flex多文件上传工具

   flex多文件上传工具(自用)
JAVA类
package com.shine.framework.flexUpload;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet; ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号