Loader的资源不释放

昨天遇到个内存泄露的情况。查到最后发现加载外部的一个.swf里面的倒影截的位图没清除导致的。 推测loader.unloadAndStop()虽然会关闭流,但是并不释放被加载的程序中产生的BitmapData。 切记:**除了纯粹的试听对象,所加载的外部程序中有监听、回调、创建了BitmapData的,此外部程序在被unload前请自行了断。**否则你再怎么gc都吃着内存。

Flash

GTween V2 Released!

本月4号,gskinner.com发布了GTween第二版。 这个版本比之前的更小巧(3.5k),而且运行效率更高,新引入了插件模型带来更强扩展性。 官方下载页面

Flash

两个配合FF使用的flash调试工具

Flash Switcher让火狐可以切换不同版本的Flashplayer plugin,以便兼容性调试。 This extension allows you to easily switch from one flash player plugin version to another, or also to remove or save the currently installed plugin (maybe for testing the express install). Once installed you will find the “flash switcher” icon in the Firefox statusbar at bottom right (and also in the Tools Firefox menu). Click on it and a list of available options will appear.

Flash

FDT3.5beta破解补丁

旧版FDT更新到3.5beta后需要重新破解。感谢halley给我送来破解补丁,在此分享给同样需要的朋友。 点击下载 FDT3.5beta 破解补丁 使用方法:把解压缩后的fdtCore.jar覆盖对应文件就行了,我的文件位于F:\Program Files\fdt\plugins\com.powerflasher.fdt.core_3.5.0.1040。 注意:盗版危害产业发展,请不要将破...

Flash

2009新版网站发布

新版网站从今年7月27日开始设计制作,主要都是业余时间制作。至今终于施工结束,完成发布。 http://www.mousebomb.org/首页已经跳转为新版,去看看。 新版确实拖得比较久,自从2007版之后好久都没更新个人网站了。其实这版制作前我设计过另外两套方案,一次是在08年春节,另一次是08年9月下旬。 其中一次想做个星际旅行风格的。第一次进入网站会出现一个“指挥官,欢迎归来”的登录框(就是泰伯利亚战争那样的)。进入后是一个星系,游客驾驶一艘飞船进行行星的探索,可以在线发送宇宙电波交流等等。

Flash / 作品

Flash百叶窗式切换效果

需要 Flash Player 10

Flash / 作品

安全沙箱问题#2123

第一份安全沙箱的笔记。 因为安全沙箱困扰了不少人,所以是老生常谈的问题。 今天下午我遇到了2123错误。 案发现场某个列表flash页面需要支持gravatar的头像 (gravatar的跨域策略文件位于http://www.gravatar.com/avatar/crossdomain.xml) 在加载他们提供的图片头像时我遇到了安全沙箱冲突,错误信息是: SecurityError: Error #2123: 安全沙箱冲突:

Flash

Flash输入文本内中文乱码

上次遇到Flash在IE下的NavigateToURL被屏蔽的问题,解决方法可以用wmode的设置。 昨天夜里又遇到wmode的另外一个问题: flash里的输入文本框(CS4里纯正的TextField,type=’input’),放到网页后在火狐测试无法正确输入中文,输入法可以使用,但打进去都变乱码。

Flash

Flash CS5小道消息一蹩

这篇文章为我们介绍了一些Flash CS5的小道消息。文中有几处错别字,像我这样E文不咋样的,看得泪流满面。 几个我关注的点: 普及率当前的Flash平台情况,其中FlashPlayer10的安装数量还在不断上升,新的数字预计将在短期内达到90%以上的覆盖率。 Flash CS5特点对开发者来说最大的新闻就是Flash创作终于和FlashBuilder整合了。 如果你在用Flash CS5,就能通过一个新的导出对话框导出一个新FlashBuilder项目。

Flash

ActionScript for Multiplayer Games and Virtual Worlds[下载]

ActionScript for Multiplayer Games and Virtual Worlds图书概述 The demand for multiplayer games and virtual worlds has exploded over the last few years. Not only do companies want them for site stickiness through social networking, but developers have tremendous interest in exploring this niche area. While developing multiplayer content is challenging, it isn’t as difficult as you might think, and it is fun and highly rewarding! ActionScript for Multiplayer Games and Virtual Worlds explains fundamental multiplayer concepts from connecting to a server to real-time latency hiding techniques. In this book you’ll learn: How to connect users to achieve real-time interaction When to make decisions on the server versus the game client Time synchronization techniques How to use dead reckoning smoothing to hide network latency About tile-based games the isometric view Techniques for customizing and rendering avatars in a virtual world In addition, you’ll learn everything that goes into building: A real-time multiplayer tank battle game A real-time multilayer cooperative game A virtual world

Flash
1…34567…17