TextArea自定义滚动条位置
自定义滚动的位置,必须覆盖updateDisplayList方法。
阅读全文...
Flash CS4 优化补丁
连接地址:http://www.adobe.com/support/flash/downloads.html
Adobe Flash CS4 Professional Update (10.0.2) 05/13/2009 This update for Flash CS4 Professional (10.0.2) addresses issues related to compiling large projects. Specifically, it addresses stability and performance issues related to large animation files, such as timeline scrubbing and looping and nested movie clips, as well as text handling. For more details, read the technote. For more about this update from Richard Galvan, product manager for Adobe Flash Professional, visit Richard Galvan's blog. Download the Adobe Flash CS4 Professional update (10.0.2) for all languages:
- DownloadDownload the Windows Update (EXE, 30.7MB)
- DownloadDownload the Macintosh Update (DMG, 140MB)
Flash 关于Java运行时环境初始化时出现错误
本文转自:http://qzone.qq.com/blog/10505516-1233999141
Flash CS3运行时会提示 Java运行时环境初始化时出现错误 这个是由于缺少JAVA引起的。
解决方法:
- 登陆Java下载站点:http://www.java.com/zh_TW/download/index.jsp
- 点击“免费Java下载”,跳转到下载页面。解除IE浏览器的Active控件阻挡功能。
- 此时会弹出安装Java控件的安全警告。点击“安装”,等待片刻会弹出安装画面,点“下一步”开始安装。耐心等待片刻,Java提示安装完成。进入安装目录,C:\\Program Files\Java\Jre6,将其中的文件复制,在Flash目录下新建一个名为“JVM”的文件夹,将复制的内容全部复制到这个目录。
现在再启动Flash CS4,点击动作面板,动作面板已经可以正常打开了
flash cs4 fl包路径
缓动相关
Adobe Flash CS4\Common\Configuration\ActionScript 3.0\projects\Flash\src\
UI组件
Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface\
video
Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\FLVPlayback\
SFS 私聊跨房间私聊实现
在SmartFoxServer里
SmartFoxServer::sendPrivateMessage(message:String, recipientId:int, roomId:int):void
/**
* @param message <strong> String </strong> 接收到的消息
* @param sender <strong> User </strong> 发送者的 User 实例, 如果不在同一个房间则为null
* @param userId <strong> int </strong> 发送者的 userId
* @param roomId <strong> int </strong> 消息来源的房间id
*/
SFSEvent.onPrivateMessage
[ RECEIVED ]: <![CDATA[这是一条私聊消息!]]>, (len: 102)