检测flash的运行在本地还是网络
trace(loaderInfo.url.indexOf("file:///") != -1);
trace(new LocalConnection().domain == "localhost");
trace(Security.sandboxType != "remote");
trace(loaderInfo.url.indexOf("file:///") != -1);
trace(new LocalConnection().domain == "localhost");
trace(Security.sandboxType != "remote");
为什么要用TWEENLITE而不用ADOBE官方的TWEEN?
自定义滚动的位置,必须覆盖updateDisplayList方法。
阅读全文...
连接地址: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:
本文转自:http://qzone.qq.com/blog/10505516-1233999141
Flash CS3运行时会提示 Java运行时环境初始化时出现错误 这个是由于缺少JAVA引起的。
解决方法:
现在再启动Flash CS4,点击动作面板,动作面板已经可以正常打开了
缓动相关
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\
在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)