FlexBuilder Debug Preferences

The preferences here are generic to all debuggers, and govern stylistic and prompting options

Option

Description

Default

Reuse editor when displaying source code

The debugger displays source code in an editor when stepping through an application. When this option is on, the debugge

More…

by 老李 | Tagged , | 1 Comment

BlazeDS Flex端常用方法总结 及 ResultEvent分析

1 .基本使用:
private var op:AbstractOperation;
public function loadEmployees():void {
op = AppContext.getRemoteObject().getOperation(“loadEmployees”); //获得Operation
op.arguments = [id]; //设定参数
var at:AsyncToken = op.send(); //Send
at.addResponder(this); //为本实例增加responder

}

//——-

More…

by 老李 | Tagged , , , | Leave a comment

mx_internal – Flex框架保留命名空间

mx_internal is a namespace used by the Flex framework to partition out functions and properties that may change in future releases of the Flex SDK.

From: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=12212

by 老李 | Tagged , | Leave a comment

Flex: 自定义事件 [Custome Event] 使用规范

Flash.events.EventDispacher类提供了事件dispatch函数,如果需要dispatch事件, 则应该考虑继承该类或其子类.如果不能继承该类,则应事先IEventDispatcher接口
自定义事件:
package com.insprise.dept.event
{

/**
* when Operation Success, and it’s responder can dispatch this event
*/
public class OperationResultEvent extends Event
{
public static const OPE

More…

by 老李 | Leave a comment

Flex: 在MXML中实现接口

代码如下:


xmlns:ns1="component.*" fontFamily="微软雅黑" fontSize="14" implements="mx.rpc.IResponder">

在这里实现接口...

by 老李 | Tagged , | Leave a comment