<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>I'm Emment</title><link>http://www.imemment.com/</link><description>欢迎地球外的生命光临，一起维护宇宙和平</description><generator>RainbowSoft Studio Z-Blog 1.8 Spirit Build 80722</generator><language>zh-CN</language><copyright>MSN:passoicq@hotmail.comCopyright www.imemment.com. Some Rights Reserved.沪ICP备11005717号</copyright><pubDate>Sun, 08 Jan 2012 12:03:02 +0800</pubDate><item><title>ie6下面，用设置图片背景的方法来做按钮，鼠标hover会闪烁的解决办法</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/146.html</link><pubDate>Wed, 07 Dec 2011 18:28:59 +0800</pubDate><guid>http://www.imemment.com/post/146.html</guid><description><![CDATA[<p class="code"><code>&nbsp;&lt;script&nbsp;type="text/javascript"&gt;try{document.execCommand("BackgroundImageCache",&nbsp;false,&nbsp;true);}catch(e){};&lt;/script&gt;</code></p>只要在body底部加入上面的js代码就可以了<br/>原因是因为ie6对图片缓存的一个bug导致的，他会去下载背景图片，所以出现鼠标ico变化为漏斗，导致闪烁]]></description><category>Javascript</category><comments>http://www.imemment.com/post/146.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=146</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=146&amp;key=b915af8a</trackback:ping></item><item><title>flashdevelop-4.0.0-RC1发布导致同词高亮插件失效HighlightSelection.dll</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/145.html</link><pubDate>Mon, 10 Oct 2011 12:07:52 +0800</pubDate><guid>http://www.imemment.com/post/145.html</guid><description><![CDATA[flashdevelop-4.0.0-RC1发布导致同词高亮插件失效HighlightSelection.dll<br/>最新版本下载地址：<br/><a href="http://www.everbox.com/f/iDuBcuEP5FBM6PzqaautIMAWtv"  target="_blank">http://www.everbox.com/f/iDuBcuEP5FBM6PzqaautIMAWtv</a><br/>放在安装目录-->Plugins<br/><br/>中文汉化包下载地址：<br/><a href="http://www.everbox.com/f/xO9xRhN57xL986ePcniQd6TW3D"  target="_blank">http://www.everbox.com/f/xO9xRhN57xL986ePcniQd6TW3D</a><br/>直接解压到安装目录即可<br/><br/>]]></description><category>ActionScript3.0</category><comments>http://www.imemment.com/post/145.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=145</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=145&amp;key=a16e9602</trackback:ping></item><item><title>flashplayer11终于正式发布了，stage3D是个质的飞跃，flash不会死</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/144.html</link><pubDate>Sun, 09 Oct 2011 13:44:25 +0800</pubDate><guid>http://www.imemment.com/post/144.html</guid><description><![CDATA[最近很忙，很久没有关注flash的新技术了<br/>FLASHPLAYER11终于发布了，随之发布的是正式的stage3d API <br/>API文档地址：http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package-summary.html<br/>并且这里有一个DEMO<br/><a href="http://adf.ly/821527/banner/aerys.in/minko/showcase/quake-3"  target="_blank">http://adf.ly/821527/banner/aerys.in/minko/showcase/quake-3</a><br/>quake3 足以表达fp11的强大了<br/>另外新的API对2D的图形渲染效率也有很大帮助， （其实3D也就是2D加计算嘛）<br/>这里也有个demo，看看CPU FPS 有木有<br/><a href="http://nulldesign.de/nd2d/tests/"  target="_blank">http://nulldesign.de/nd2d/tests/</a><br/>按空格键切换各种demo<br/>可以说网络客户端游戏转为WEB端游戏的进程就要迎来高潮了<br/><br/>目前基于最新stage3d API的3D引擎是 Minko 地址：http://adf.ly/821527/banner/hub.aerys.in/minko/v1<br/>其他的主流3D引擎应该也在跟进<br/><br/>另外说一说HTML5<br/>HTML5的出现是为了让HTML有个统一的标准，避免出现浏览器各自为政的兼容性问题，并且经过互联网发展十多个年头，把一些常用的功能需求统一标准化为api，HTML5的出现是好事，也是必然，但是未必可以那么快的达到目的。<br/>这需要一个很漫长的过程，就目前来看，抛开大陆40%多份额的IE6不提，一些高级主流浏览器在HTML5的API支持上面也不尽相同，HTML5的标准也还没有完全定稿，想用HTML5的我看可能会带来更大的兼容性问题和开发成本。<br/>目前也就是那些新语义化的标签可以用用，对以后的搜索引擎是个好事，不过仍然需要漫长的时间过度...<br/>    而且用js开发复杂项目难度要大于as3,因为js就像as2，高手当然没问题（用人成本高），但是开发成本需要考虑，FLASHPLAYER每个新版本发布，基本上3个月就可以覆盖到94%，大批已经熟悉FLASH的设计和美工人员是不大会盲目换软件的，所以FLASH依然有强劲的生命力，跟adobe的观点一致，欢迎html5，但FLASH仍然是一方霸主。<br/><br/>下面就举个的例子吧，WEB端常常用FLASH做批量上传照片，在线照片编辑<br/>方案1： FLASH ，一次搞定。<br/>方案2： html5的新api，遇到ie6，7，8 还是得采用FLASH<br/>方案3： html4 无法批量上传<br/>我是老板，还是选择用FLASH<br/><br/>另外说几个FLASH很致命的弱点<br/>1：无法使用右键，不知道adobe是咋想的<br/>2：在FF等多标签浏览器中，有一个FLASH程序写的烂，崩溃了，导致所有标签页的FLASH全盘崩溃<br/>3：一些js与as交互的兼容性问题，在做应用的时候是必须的，令人比较头疼。在web的小应用方面，迟早会被HTML5替代，但尚需时日<br/><br/>]]></description><category>杂物箱</category><comments>http://www.imemment.com/post/144.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=144</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=144&amp;key=1d375830</trackback:ping></item><item><title>关于flash的注意事项</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/142.html</link><pubDate>Tue, 30 Aug 2011 19:16:12 +0800</pubDate><guid>http://www.imemment.com/post/142.html</guid><description><![CDATA[<b>1.为什么我会在ff3 windows版下的wmode transparent（透明） 或者不透明（opaque）模式下看到虚线框环绕着的flash</b><br/>解决办法加样式<br/><p class="code"><code>&lt;style&nbsp;type="text/css"&nbsp;media="screen"&gt;<br/>object&nbsp;{&nbsp;outline:none;&nbsp;}<br/>&lt;/style&gt;</code></p><br/><b>2.firefox下面，有关swfobject和input type='radio'的诡异现象</b><br/>如果代码如下：<br/>就会发生很诡异的现象，每次刷新页面。radio的checked项会切换<br/>导致此问题的原因是 调用2次swfobject.embedSWF 与 标签 label 有着很神秘的关系<br/><p class="code"><code>.............代码..................<br/>&lt;div&nbsp;id="chart-select-map"&gt;&lt;/div&gt;<br/>&lt;div&nbsp;id="chart-select-date"&gt;&lt;/div&gt;<br/>&lt;input&nbsp;type="radio"&nbsp;checked="checked"&nbsp;value="0"&nbsp;name="discoveryType"&nbsp;id="duijitu"&gt;&lt;label&nbsp;for="duijitu"&gt;A&lt;/label&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type="radio"&nbsp;value="1"&nbsp;name="discoveryType"&nbsp;id="xianxingtu"&gt;&lt;label&nbsp;for="xianxingtu"&gt;B&lt;/label&gt;<br/>&lt;script&nbsp;type="text/javascript"&gt;<br/>&nbsp;&nbsp;swfobject.embedSWF("Chart.swf",&nbsp;"chart-select-date",&nbsp;"470",&nbsp;"230",&nbsp;"9.0.0");<br/>&nbsp;&nbsp;swfobject.embedSWF("map.swf",&nbsp;"chart-select-map",&nbsp;"315",&nbsp;"203",&nbsp;"9.0.0");<br/>&lt;/script&gt;<br/></code></p>解决办法就是去掉label标签，具体原因不得而知，可能遇到这样情况的人也少之又少。]]></description><category>杂物箱</category><comments>http://www.imemment.com/post/142.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=142</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=142&amp;key=db727b92</trackback:ping></item><item><title>兔子历时好几个月雕琢而成的绣花</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/141.html</link><pubDate>Thu, 04 Aug 2011 13:03:06 +0800</pubDate><guid>http://www.imemment.com/post/141.html</guid><description><![CDATA[<img onload="ResizeImage(this,0)" src="http://www.imemment.com/upload/201108041307296737.jpg" alt="" title=""/><br/><br/>凝结了兔子的爱心，谢谢你，我会好好保存它<br/><br/>]]></description><category>专属天使</category><comments>http://www.imemment.com/post/141.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=141</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=141&amp;key=4a58ea6b</trackback:ping></item><item><title>alpha，visible的区别和效率对比</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/140.html</link><pubDate>Sat, 18 Jun 2011 00:08:24 +0800</pubDate><guid>http://www.imemment.com/post/140.html</guid><description><![CDATA[做了个测试，显示对象涉及到图像渲染时<br/><br/>visible = false 的效率高于 alpha = 0<br/>alpha != 0 或  alpha != 1 的时候，效率最差，因为用到了透明通道，需要计算合并后的颜色。<br/>visible 应该是将显示对象完全从显示列表中移出，所以效率最高<br/><br/>]]></description><category>ActionScript3.0</category><comments>http://www.imemment.com/post/140.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=140</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=140&amp;key=6653f7ca</trackback:ping></item><item><title>目前发现中最好的UI-as3类库</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/139.html</link><pubDate>Fri, 03 Jun 2011 01:31:45 +0800</pubDate><guid>http://www.imemment.com/post/139.html</guid><description><![CDATA[做项目难免需要绘制界面以及一些界面交互<br/>自己从头开发一个UI类库肯定得不偿失<br/>ui类库有不少，比如aswing，其他的一些UI类库<br/>不过我大致看了一下，实在过于臃肿，可扩展性不强，不够灵活<br/>如果对界面定制化要求不高，可以选择上面的类库<br/>下面介绍的一个精悍、功能丰富、可扩展性强的UI类库 <br/><br/>google code 地址 http://code.google.com/p/minimalcomps/source/checkout<br/><br/>官方文档 http://www.minimalcomps.com/documentation/<br/><br/>此类库只提供最基础的零件，你可以组装、继承、增加功能之后，完成高度定制化属于自己的UI类<br/>你也可以基于统一的Component类，进行新的零件开发，相当完美<br/><br/>如果你只想要拿来就可以用的类库，就请绕道哈<br/><br/><br/>]]></description><category>AS3 MINNI library</category><comments>http://www.imemment.com/post/139.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=139</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=139&amp;key=03e5d78f</trackback:ping></item><item><title>flashdevelop 常用快捷键</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/138.html</link><pubDate>Thu, 26 May 2011 15:38:49 +0800</pubDate><guid>http://www.imemment.com/post/138.html</guid><description><![CDATA[1.文件夹搜索是Ctrl+I<br/>2.注释//         Ctrl+Q<br/>3.      /*…*/   Ctrl+Shift+Q<br/>4. 代码提示   Ctrl+Alt+space<br/>5. 复制一行   Ctrl+D<br/>6. 交换行     Ctrl+T<br/>7. ctrl+shift+1    自动完成代码，这个功能是FD代码提示最有用一个，他可以用来自动生成GET、SET，自动申明变量、方法，自动导入类（还有些以后补）<br/>8. ctrl+b        范例代码        for、if等代码段的模板，只要按下这个键就可生成<br/>9. ctrl+shift+k        颜色代码拾取器<br/>10. ctrl+shift+f    代码收起<br/>11. ctrl+shift+a     代码全部收起<br/>12. ctrl+shift+e    代码全部展开<br/>13. ctrl+shift+n   复制代码到一个新文件<br/>14. ctrl+shift+i     生成了uid<br/>15. F4    跳转到指定方法或类或变量被定义的地方<br/>16. shift+f4    跳回到之前所有的地方<br/>17. 选中代码段后–右键– Save As Snippet    保存为模板<br/>18. ctrl+\    移到下个大写或标点或空格后<br/>19. ctrl+]    移动下个空行后<br/>20. ctrl+space 自动完成代码<br/>21. ctrl+alt+space 自动生成代码<br/><br/>]]></description><category>ActionScript3.0</category><comments>http://www.imemment.com/post/138.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=138</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=138&amp;key=4cb93bf2</trackback:ping></item><item><title>做了一个简单的素材编辑器</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/137.html</link><pubDate>Thu, 21 Apr 2011 10:17:43 +0800</pubDate><guid>http://www.imemment.com/post/137.html</guid><description><![CDATA[<a href="http://www.app-wow.com/materialMaker/index.html" target="_blank"><img onload="ResizeImage(this,0)" src="http://www.imemment.com/upload/201104211113424554.jpg" alt="" title=""/></a><br/><br/>花2，3天时间做了个在线编辑的小工具，跟淘宝的bannerMaker功能差远了<br/>不过bannerMaker好像做了一年<br/><br/>]]></description><category>ActionScript3.0</category><comments>http://www.imemment.com/post/137.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=137</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=137&amp;key=048d1e07</trackback:ping></item><item><title>flash web game 开发经验心得和框架的一些细说（转载）</title><author>emment@126.com (emment)</author><link>http://www.imemment.com/post/136.html</link><pubDate>Thu, 14 Apr 2011 16:09:19 +0800</pubDate><guid>http://www.imemment.com/post/136.html</guid><description><![CDATA[<p>&rarr;前端的主程序架构和模块划分与人手和人事分工是紧密联系在一起的，而这些很大程度上又是由项目本身决定的。纵观现在国内绝大多数FLASH WEB  GAME的规模和难度，我觉得前端AS人员大概需要2-7个之间，主程序有效代码一般不会超过10W行。在这种情况下，人事分工应当以功能和模块进行划 分，尽量避免多人维护同一份代码，每个人各司其职，减少维护和协作的成本。这种模式非常适合人手不够，制度不健全，而且追求效率的初创公司。 <br /><br />&rarr;根据各种游戏类型的不同，分工也应该不同。策略类更注重界面开发，分工上应该向UI偏重，MMORPG类注重主架构一些，而像我们的海底世界，是更新驱动类社区游戏，每周都要发布新内容，还需要大量的小游戏和场景功能支撑，所以需要更多的模块和小游戏程序员...</p><p>&nbsp;</p><p>&nbsp;</p>]]></description><category>WEBGAME</category><comments>http://www.imemment.com/post/136.html#comment</comments><wfw:comment>http://www.imemment.com/</wfw:comment><wfw:commentRss>http://www.imemment.com/feed.asp?cmt=136</wfw:commentRss><trackback:ping>http://www.imemment.com/cmdwxh.asp?act=tb&amp;id=136&amp;key=537a3a5f</trackback:ping></item></channel></rss>

