`
文章列表
附件: Flex Application Performance: Tips and Techniques for Improving Client Application and Server Performance: http://www.perryinc.com/pdfs/client_server_performance.pdf
How to find an ArrayCollection item with a specific property value?牛! http://stackoverflow.com/questions/1566145/how-to-find-an-arraycollection-item-with-a-specific-property-value 上帖中有两种实现方式:一是通过Array的filter(),二是通过ArrayCollection的filterFunction;不得不说,这个帖子真好!下面是参考上帖后使用第一种方式的本地业务实现:引用protected function ...
Data Access and Interconnectivity / Validating Data: http://livedocs.adobe.com/flex/3/html/help.html?content=validators_2.html引用In typical client-server environments, data validation occurs on the server after data is submitted to it from the client. One advantage of using Flex validators is that the ...
对象A和B,都是被hibernate管理的PO。 A中有对B的引用b;而这个属性b是被标为@Transient的:@Transient public B getB() { return b; } 在使用原生sql做对A、B对应表做连查并调用:.addEntity("A对应表的sql别名", A.class) .addJoin("B对应表的sql别名", "A对应表的sql别名.b")时,报:QueryException: could not resolve property b of A 表明: addEntity和a ...

FLEX : Event 事件

    博客分类:
  • FLEX
ActionScript 3.0 Developer’s Guide / Core ActionScript Classes -> Handling events: http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7fca.html Using Flex 4.5 / Getting started -> Events: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ee9.html ...
务须精读的文章: Flex data binding pitfalls: common misuses and mistakes: http://www.adobe.com/devnet/flex/articles/databinding_pitfalls.html 译文:Flex 数据绑定易犯的错误:普遍的误用和错误: http://www.cnblogs.com/kakaflex/archive/2011/04/14/2016340.html the '@{}' form is new in Flex 4 and is used to do two way binding. 原创 ...
Combox默认将对象中名为label的属性作为显示用的labelField ComboBox中存放的list(这里list泛指array/arraylist/arraycollection等),如果list中的Object有label这个属性,则你不必为该comboBox指定显示用的labelField,默认就会用label这个属性作为labelField。下页面的例子就说明了这个问题: http://livedocs.adobe.com/flex/3_cn/langref/mx/controls/ComboBox.html引用<?xml version="1.0"? ...
通过设置dragEnabled属性为true,可以使这些控件作为“拖动开始点”。类似地,通过设置dropEnabled属性为true,可以使这些控件作为“放下目标”。Flex允许通过拖动来移动元素,从dragEnabled控件到一个dropEnabled控件,或者在拖动中按住Control键可以赋值他们。 http://www.cnblogs.com/Bill_Lee/archive/2011/03/11/1981509.html dragEnabled & dropEnabled & dragMoveEnabled 例子: http://blog.minidx.com/e ...
Programming ActionScript 3.0 / ActionScript language and syntax / Data types -> Data type descriptions: http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_11.html引用The primitive data types include Boolean, int, Null, Number, String, uint, and void. The ActionScript core ...
常会碰到的错误:TypeError: Error #1009: 无法访问空对象引用的属性或方法。: http://hillelcoren.com/2008/09/19/flex-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/ Flex 2 Runtime Error 1009 and Runtime Modules: http://life.neophi.com/danielr/2006/07/flex_2_runtime_error_1009_and.html 我碰到的Error #1009: ...
When to Use labelFunction versus ItemRenderer: http://www.kylehayes.info/2007/10/09/When-to-Use-labelFunction-versus-ItemRenderer/ 理解 Flex itemRenderer 系列: 英文: http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html 中文: 第 1 部分:内联渲染器 http://www.adobe.com/cn/devnet/flex/articles/itemrenderer ...
http://blog.csdn.net/chengyongli/archive/2008/09/25/2980069.aspx引用preloader->systemManager->FlexApplication started… 然后才是 preinitialize 在所有的初始化之前触发,没有子组件的定义,但是可以引用组件的变量. initialize 当所有子组件生成完成后触发,在这个时间点还没有组件被渲染出来. creationComplete 组件定义完成并已经在显示列表. applicationComplete 所有的组件初始化完成并显示.
Adobe® Flex™ 3.2 语言参考 -> 元数据: http://livedocs.adobe.com/flex/3_cn/langref/mxml/metadata.html引用使用 <mx:Metadata> 标签在 MXML 文件中插入元数据标签。元数据标签向 Flex 编译器提供说明 MXML 组件在 Flex 应用程序中的使用方式的信息。元数据标签并不会编译到可执行代码中,而是提供信息来控制如何编译代码的各个部分。 请注意,在 <mx:Metadata> 块中只能插入元数据标签;不能插入 MXML 或 ActionScript 代码。 在 Acti ...
遇到的问题描述: 数据库为Oracle,其jdbc驱动为ojdbc14.jar。打算用Hibernate原生SQL通过setResultTransformer()的方式将查询结果赋给不被Hibernate管理的bean:public List<FidsDepfDto> queryAllFidsDepfDto() { String sql = "select id as \"id\",iata as \"iata\",flight as \"flight\",dest as \"dest\" ...
使用它们时的注意: 1.Query 没有addScalar()和addEntity()方法,使用Query的子接口SQLQuery才有这两个方法 2.如果查询的结果集的字段为多个,如:String sql = "select id as \"id\",iata as \"iata\",flight as \"flight\",dest as \"dest\",domint as \"domint\" " + " ,sdt as \"sdt\" ...
Global site tag (gtag.js) - Google Analytics