flex
daigua245
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Binding to array object elements' demo
1.自定义对象类package{ public class UserVO { //-------------------------------------------------------------------------- // // Constructor // //----------------------------------------原创 2012-03-11 19:15:34 · 412 阅读 · 0 评论 -
unable to resolve ... for transcoding
问题:build flex 时报以下错误:Error: unable to resolve 'assets/images/videochat_32x32.png' for transcoding解决方法:将 assets/images/videochat_32x32.png 修改为/assets/images/videochat_32x32.png这样就从根路径开始原创 2012-07-31 10:55:46 · 1258 阅读 · 0 评论 -
Flash Trust File on Windows 7
open the following folder:C:\Users\[YourUser]\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrusthere create a file with a .cfg extensiondev.trust.cfgnow open th转载 2012-08-15 16:30:35 · 802 阅读 · 0 评论 -
flex4 spark buttion 自定义ICON位置
问题:Flex4之后的spark button如果在自定义ICON的位置解决:自定义按钮皮肤,具体步骤如下1.取消自动设置ICON的位置autoIconManagement=false<s:SparkButtonSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.原创 2012-08-08 14:36:31 · 1835 阅读 · 0 评论 -
Flex在匿名方法移除自身的侦听方法
Flex在匿名方法移除自身的侦听方法 btn.addEventListener(Event.CLICK,function(event:Event):void { ..... event.target.removeEventListener(E转载 2012-07-05 11:16:47 · 370 阅读 · 0 评论 -
Difference between clone and copy
Clone -- Creates another reference (Pointer) to the same location.(Shadow copy,即复制引用)Copy -- Creates two different references to two different Address Spaces. (Deep copy,即复制对象实例)原创 2012-05-25 12:29:19 · 448 阅读 · 0 评论 -
Problem about Flexiframe
问题1:位置无法正确显示在指定的位置解决方法:a.修改你的html模板,如修改index.template.html,将文档声明修改为b.修改IFrameExternalCalls.as源码,查找INSERT_FUNCTION_MOVEIFRAME,将它的值修改成如下所示: public static var INSERT_FUNCTION_MOVEIFRAME:原创 2012-05-24 13:53:20 · 547 阅读 · 0 评论 -
How to insert a SWF file in an ASDoc API documentation ?
ASDoc API documentation is well designed for developers but remain difficult to read for others. Some of my co-workers are web designer. They code a bit but they want API to be simple and they want us转载 2012-05-22 23:38:13 · 486 阅读 · 0 评论 -
取消Firefox Flash debug player调试时超时机制
After updating the Firefox to the latest version, while using Flex debug I found the debug session did not last much and it crashed after a short period. This happens because firefox kills the debug s转载 2012-06-08 10:17:09 · 832 阅读 · 0 评论 -
Socket policy request process
Flash player 与 远程服务器建立TCP Socket Connection时,需要先取得策略文件,得到远程服务器的允许, 才可以建立socket connection,以下为请求policy file的过程图解: 相关知识参考http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html原创 2012-04-12 23:05:33 · 497 阅读 · 0 评论 -
FLEX组件CLICK事件中带参数
1.组件中声明处理的事件及参数1)" />2.处理事件中声明需要处理的参数private function okBtn_clickHandler(event:MouseEvent, arg:int):void{//some codes here}如果参数个数为未知,可声明如下private function okBtn_clickHandler(even原创 2012-03-11 22:05:46 · 1754 阅读 · 0 评论 -
Flex性能优化基本原则
Flex性能优化基本原则:1.从外部加载媒体(Media)Heider提到了一个常用的Flex最佳实践——限制嵌入到应用/SWF文件中的媒体的数量,如图像、影片及mp3等资源都可以从外部的SWF文件加载。Flex框架可以直接将图片、mp3及字体等资源编译到SWF中。当你想让最终用户获得全部资源时,这种方式确实能派上用场,但是这会导致你的应用长时间停留在“Lo转载 2012-08-27 18:53:33 · 678 阅读 · 0 评论
分享