<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[小S吧 — AS3博客群]]></title> 
    <link>http://www.xiaos8.com/</link> 
    <description><![CDATA[Better job, better life. <a href="http://t.qq.com/iamsun1550" target="_blank"><b style="color:#FFFF8C;border-bottom: 2px solid;">[腾讯微博]</b></a>]]></description> 
    <language>en</language> 
    <copyright><![CDATA[Copyright 2012, 小S吧 — AS3博客群]]></copyright> 
    <webMaster><![CDATA[iamsun1550@gmail.com (sunbright)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Mon, 06 Feb 2012 01:59:32 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[第八届Flash开发者大会-北京《移动开发，社交游戏与轻网游》]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=602]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Fri, 16 Sep 2011 21:27:11 +0800</pubDate> 
      <description><![CDATA[<ul class="ubb-list" ><li>时间：2011年10月16日星期日</li><li>地点：北京市海淀区大钟寺东路9号京仪大酒店第一会议室</li><li>在线报名：<a href="http://wefdc8.51qiangzuo.com/" title="http://wefdc8.51qiangzuo.com/" target="_blank">http://wefdc8.51qiangzuo.com/</a></li><li>大会活动页面：<a href="http://www.wefdc.com/index.html" title="http://www.wefdc.com/index.html" target="_blank">http://www.wefdc.com/index.html</a></li><li>Flash开发者大会微博：<a href="http://weibo.com/wefdc" title="http://weibo.com/wefdc" target="_blank">http://weibo.com/wefdc</a></li></ul><div class="quote"><div class="quote-title"> 活动主题：</div><div class="quote-content">appstore与android应用商店成为行业关注的焦点，随着移动相关开发的日渐火热，硬件条件与支付流程的成熟，开发者纷纷投入到移动游戏与应用的开发中。而以Html5为代表的新技术也破壳而出，并快速发展，在这样一个全民移动战略转变的背景下，即将召开第八届flash开发者大会，开展《移动开发，社交游戏与轻网游》为主题的演讲与技术交流。</div></div><span style="font-size:16pt"><b>活动安排</b></span><ul class="ubb-list" ><li>主题：Flash移动开发，社交游戏与轻网游</li><li>形式：主题讲座  专家访谈</li><li>时间：2011年10月16日 下午13：30—18：00</li><li>地址：北京市海淀区大钟寺东路9号（紧邻北三环联想桥、大钟寺），太阳园小区对面 （京仪大酒店第一会议室）</li><li>电话：021-50504740-885391</li><li>交通：地铁10号线、13号线知春路站</li></ul>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=602]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[上海恺英网络强势招揽业界精英【精华帖】]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=599]]></link> 
      <category><![CDATA[工作日志]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Thu, 11 Aug 2011 17:05:39 +0800</pubDate> 
      <description><![CDATA[上海恺英网络扩充招人，公司有社区游戏，网页游戏，手机游戏等多种游戏团队，招AS、php、C++、主策、系统策划、数值策划、运营、原画、UI。<p/>待遇好——N险一金。<br />环境好——管早晚饭，24小时零食、饮料无限量供应，办公室有游戏机台球桌，公司内设各种俱乐部、专业组，可以自由参与。<br />前景好——公司和facebook、腾讯等国际一线平台均有深度合作，已获得国际顶级风投，随时会启动IPO<br />薪水多——目前公司薪资水准在国内一线IT企业中相当靠前。<br />福利多——项目每月都有吃喝玩乐，俱乐部每月都有吃喝玩乐，专业组每月都有吃喝玩乐，公司每年都有各种户外拓展，游戏上线之后还能出国旅游！！<br />奖金多——开发有绩效奖金，运营有收入分红，钱多到你数得手抽筋！只要你敢来，我们就敢给～<br /><span style="color:red">美女多——妹子多，质量好，解决内需最重要！只有你想不到，没有你要不到！</span><p/>只要你有梦想，只要你有能力，只要你敢拼搏，就不用担心这里没有空间——这里有数百人的团队，这里有十几个游戏项目，一定有最符合你的舞台！<p/><span style="font-size:18pt"><b><span style="color:red">上班比玩还开心！你还等什么！</span></b></span><p/>公司网址  <a href="http://www.kingnet.com" title="http://www.kingnet.com" target="_blank">http://www.kingnet.com</a><p/>恺英网络介绍：<div class="ubb-obj-div"><input id="bShowobj979k" type="hidden" value="-1" /><a href="javascript:ubbShowObj('swf','obj979k','http://www.tudou.com/v/GZtxRnPNnrQ/&amp;rpid=45559294/v.swf','480','400');"><img src="http://www.xiaos8.com/styles/default/images/icon_media.gif" alt="Media" /> <b>点击播放/隐藏媒体</b></a><div id="obj979k"><a href="http://www.tudou.com/v/GZtxRnPNnrQ/&amp;rpid=45559294/v.swf" target="_blank">http://www.tudou.com/v/GZtxRnPNnrQ/&amp;rpid=45559294/v.swf</a></div></div><br />央视采访恺英网络：<div class="ubb-obj-div"><input id="bShowobjlghb" type="hidden" value="-1" /><a href="javascript:ubbShowObj('swf','objlghb','http://www.tudou.com/v/sKxEkmMcXDE/&amp;rpid=45559294/v.swf','480','400');"><img src="http://www.xiaos8.com/styles/default/images/icon_media.gif" alt="Media" /> <b>点击播放/隐藏媒体</b></a><div id="objlghb"><a href="http://www.tudou.com/v/sKxEkmMcXDE/&amp;rpid=45559294/v.swf" target="_blank">http://www.tudou.com/v/sKxEkmMcXDE/&amp;rpid=45559294/v.swf</a></div></div><br />腾讯合作伙伴大会（恺英网络剪辑版）：<div class="ubb-obj-div"><input id="bShowobjggpz" type="hidden" value="-1" /><a href="javascript:ubbShowObj('swf','objggpz','http://www.tudou.com/v/sOJ71fDbeTE/&amp;rpid=45559294/v.swf','480','400');"><img src="http://www.xiaos8.com/styles/default/images/icon_media.gif" alt="Media" /> <b>点击播放/隐藏媒体</b></a><div id="objggpz"><a href="http://www.tudou.com/v/sOJ71fDbeTE/&amp;rpid=45559294/v.swf" target="_blank">http://www.tudou.com/v/sOJ71fDbeTE/&amp;rpid=45559294/v.swf</a></div></div>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=599]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[2011年上海Flash游戏开发技术交流会]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=598]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Mon, 13 Jun 2011 15:17:21 +0800</pubDate> 
      <description><![CDATA[<div class="quote"><div class="quote-title"> 引言</div><div class="quote-content">如今的网页游戏，已经不再是Flash小游戏的代名词了。不久将来，我们会看到在线游戏，逐渐的接近PC游戏。那在Flash游戏开发的背后，复杂的技术架构，如何用成熟的编程思想去实现呢？</div></div><span style="font-size:13pt"><b>活动已经结束！请等待下一次活动！</b></span><div class="quote"><div class="quote-title"> 活动信息</div><div class="quote-content"><ul class="ubb-list" ><li>活动时间：2011年6月25日 星期六 下午13:30分</li><li>活动地点：上海浦东新区福山路500号城建国际大厦708室 恺英网络会议室</li><b>（乘坐4号线或6号线浦电路站下，2号线世纪大道可转乘4号线！）</b><br /><li>活动对象：Flash游戏开发工程师、AS3开发工程师</li><li>场地容量：30人</li><li>活动费用：免费</li><li>活动QQ群：44615700</li><li>议程安排：<ul class="ubb-list" ><li>13:30 ~ 14:00 参会人员签到，入场</li><li>14:00 ~ 15:00 <b>主题讨论 主讲人：孙毅（小s）</b></li><li>15:00 ~ 16:00 <b>主题讨论 主讲人：李明（云开）</b></li><li>16:00 ~ 16:30 茶歇和聊天</li><li>16:30 技术交流和讨论</li></ul></li></ul></div></div><span style="font-size:13pt"><b>活动已经结束！请等待下一次活动！</b></span><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>周边地图</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com/kingnet/map.jpg" alt="http://www.xiaos8.com/kingnet/map.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com/kingnet/map.jpg" target="_blank">http://www.xiaos8.com/kingnet/map.jpg</a></div></td></tr></table><br /><span style="font-size:13pt"><b>活动已经结束！请等待下一次活动！</b></span><div class="quote"><div class="quote-title"> 场地介绍</div><div class="quote-content">上海恺英网络科技有限公司成立于2008年，致力于精品社交游戏的研发和运营，已经开发并成功运营包括楼一幢、恐龙王国等在内的多款社交游戏，累积用户超过一亿。公司具有良好的行业背景和雄厚的资金实力，目前已经获得两轮投资，累计金额接近2000万美元。公司领导层以经营百年老店的心态来经营和管理企业，重视人才培养和企业文化建设，诸多拥有国内外著名互联网公司服务背景的精英纷纷投入恺英的怀抱，公司已拥有精英人才接近200人。<p/><b>公司网址：http://www.kingnet.com<p/>企业文化：<br />1、High 起来！<br />2、敢于决策，允许犯错<br />3、最重要的事，马上去做<br />4、天道酬勤<br /></b></div></div><span style="font-size:13pt"><b>活动已经结束！请等待下一次活动！</b></span><p/>活动演讲PPT相关截图<br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><img style="padding-bottom:5px" src="http://www.xiaos8.com/kingnet/sh1.jpg" alt="http://www.xiaos8.com/kingnet/sh1.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com/kingnet/sh1.jpg" target="_blank">http://www.xiaos8.com/kingnet/sh1.jpg</a></div></td></tr></table><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><img style="padding-bottom:5px" src="http://www.xiaos8.com/kingnet/sh2.jpg" alt="http://www.xiaos8.com/kingnet/sh2.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com/kingnet/sh2.jpg" target="_blank">http://www.xiaos8.com/kingnet/sh2.jpg</a></div></td></tr></table><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><img style="padding-bottom:5px" src="http://www.xiaos8.com/kingnet/sh3.jpg" alt="http://www.xiaos8.com/kingnet/sh3.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com/kingnet/sh3.jpg" target="_blank">http://www.xiaos8.com/kingnet/sh3.jpg</a></div></td></tr></table><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><img style="padding-bottom:5px" src="http://www.xiaos8.com/kingnet/sh4.jpg" alt="http://www.xiaos8.com/kingnet/sh4.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com/kingnet/sh4.jpg" target="_blank">http://www.xiaos8.com/kingnet/sh4.jpg</a></div></td></tr></table>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=598]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[新游戏《壹公寓》在Facebook上线]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=593]]></link> 
      <category><![CDATA[工作日志]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Mon, 24 Jan 2011 14:15:02 +0800</pubDate> 
      <description><![CDATA[游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>新手介绍页面</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/1.jpg" alt="http://www.xiaos8.com//sub/one/1.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/1.jpg" target="_blank">http://www.xiaos8.com//sub/one/1.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>性别选择界面</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/2.jpg" alt="http://www.xiaos8.com//sub/one/2.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/2.jpg" target="_blank">http://www.xiaos8.com//sub/one/2.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>高档家具样板房</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/3.jpg" alt="http://www.xiaos8.com//sub/one/3.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/3.jpg" target="_blank">http://www.xiaos8.com//sub/one/3.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>我的家</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/4.jpg" alt="http://www.xiaos8.com//sub/one/4.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/4.jpg" target="_blank">http://www.xiaos8.com//sub/one/4.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>人物装饰面板</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/5.jpg" alt="http://www.xiaos8.com//sub/one/5.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/5.jpg" target="_blank">http://www.xiaos8.com//sub/one/5.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>随便弄的搞怪服饰</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/6.jpg" alt="http://www.xiaos8.com//sub/one/6.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/6.jpg" target="_blank">http://www.xiaos8.com//sub/one/6.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>大楼外界面</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/7.jpg" alt="http://www.xiaos8.com//sub/one/7.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/7.jpg" target="_blank">http://www.xiaos8.com//sub/one/7.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>壹公寓管理处</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/8.jpg" alt="http://www.xiaos8.com//sub/one/8.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/8.jpg" target="_blank">http://www.xiaos8.com//sub/one/8.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>这个人的家有个性</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/9.jpg" alt="http://www.xiaos8.com//sub/one/9.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/9.jpg" target="_blank">http://www.xiaos8.com//sub/one/9.jpg</a></div></td></tr></table>还用屏风挡着，保护隐私权<br />游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>公寓的顶楼</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/10.jpg" alt="http://www.xiaos8.com//sub/one/10.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/10.jpg" target="_blank">http://www.xiaos8.com//sub/one/10.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a><br /><table style="margin:10px 0px 10px 0px;padding:10px;border:2px solid #cccccc;background-color:#ffffff"><tr><td align="center"><div style="background-color:#F0F8FF" align="left">图片名称：<strong>整蛊提示</strong></div><img style="padding-bottom:5px;padding-top:5px" src="http://www.xiaos8.com//sub/one/11.jpg" alt="http://www.xiaos8.com//sub/one/11.jpg" /><br><div style="background-color:#F0F8FF">图片地址：<a href="http://www.xiaos8.com//sub/one/11.jpg" target="_blank">http://www.xiaos8.com//sub/one/11.jpg</a></div></td></tr></table>游戏地址：<a href="http://apps.facebook.com/firsttower/" title="http://apps.facebook.com/firsttower/" target="_blank">http://apps.facebook.com/firsttower/</a>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=593]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[【推荐】深入理解ApplicationDomain和SecurityDomain]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=587]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Wed, 01 Dec 2010 20:00:36 +0800</pubDate> 
      <description><![CDATA[推荐两篇文章，今天先随便看了一下，感觉很不错，回头有空来细细品味<br /><a href="http://kevincao.com/2010/11/application-domains/" title="http://kevincao.com/2010/11/application-domains/" target="_blank">教程：深入理解Flash的沙箱 – Application Domains</a><br /><a href="http://kevincao.com/2010/11/security-domains/" title="http://kevincao.com/2010/11/security-domains/" target="_blank">教程：深入理解Flash的沙箱 – Security Domains</a>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=587]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[(AS3)编程技巧【巧用位运算记录八方向】]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=585]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Thu, 21 Oct 2010 10:34:55 +0800</pubDate> 
      <description><![CDATA[<div class="quote"><div class="quote-title"> 前言</div><div class="quote-content">好久没写技术文章，今天来写个我自己发现的小技巧</div></div>通常我们在写四方向时通常写法是这样的<div class="code">switch(align){<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.LEFT:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.RIGHT:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = width - rangeWidth * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.TOP:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.BOTTOM:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = height - rangeHeight * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />}</div>然后八方向写法比较多，但是有个共同特点是较繁琐，以下是一种比较常见的写法<div class="code">switch(align){<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.LEFT_TOP:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.LEFT_MIDDLE:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = (height - rangeHeight * scale) / 2 - range.top;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.LEFT_BOTTOM:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = height - rangeHeight * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.RIGHT_TOP:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = width - rangeWidth * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.RIGHT_MIDDLE:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = width - rangeWidth * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = (height - rangeHeight * scale) / 2 - range.top;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.RIGHT_BOTTOM:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = width - rangeWidth * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = height - rangeHeight * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.CENTER_TOP:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = (width - rangeWidth * scale) / 2 - range.left;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.CENTER_MIDDLE:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = (width - rangeWidth * scale) / 2 - range.left;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = (height - rangeHeight * scale) / 2 - range.top;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;case AlignType.CENTER_BOTTOM:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipX = (width - rangeWidth * scale) / 2 - range.left;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clipY = height - rangeHeight * scale;<br />&nbsp;&nbsp;&nbsp;&nbsp;break;<br />}</div>以上都对，就是太繁琐了，而且逻辑有时候很难整理，那么我们就要想了，这个到底有没有办法可以很简单呢？<div class="quote"><div class="quote-title"> 知识点</div><div class="quote-content">二进制有个很大的特点就是它只由0和1组成，且正好可以把它看成true和false，而位运算也可以帮助我们很快拿到某位数字是1还是0。</div></div>那么我们把八方向拆解一下，其实只有6个方位，分别是横向的左中右，纵向的上中下，那么我们只要标记好这六个方位的二进制数即可，那么每次生成一个八方向时，可以把它对应成一个二进制数，然后与标记好的六个方向进行位运算，就可以立即知道它是否在哪个方位。<br />接下来看下面这个简单的写法<div class="code">var flag:int = AlignType.TAG[align];<br />if(flag &amp; AlignType.LEFT) clipX = 0;<br />else if(flag &amp; AlignType.CENTER) clipX = (width - rangeWidth * scale) / 2 - range.left;<br />else if(flag &amp; AlignType.RIGHT) clipX = width - rangeWidth * scale;<br />else throw new Error(&quot;Align Flag出错！&quot;);<br />if(flag &amp; AlignType.TOP) clipY = 0;<br />else if(flag &amp; AlignType.MIDDLE) clipY = (height - rangeHeight * scale) / 2 - range.top;<br />else if(flag &amp; AlignType.BOTTOM) clipY = height - rangeHeight * scale;<br />else throw new Error(&quot;Align Flag出错！&quot;);</div>同时附上AlignType类：<div class="code">package eightd.base.tip<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;public class AlignType<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const CENTER_MIDDLE:int = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const LEFT_TOP:int = 1;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const CENTER_TOP:int = 2;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const RIGHT_TOP:int = 3;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const RIGHT_MIDDLE:int = 4;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const RIGHT_BOTTOM:int = 5;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const CENTER_BOTTOM:int = 6;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const LEFT_BOTTOM:int = 7;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const LEFT_MIDDLE:int = 8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const LEFT:int = 1;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const CENTER:int = 2;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const RIGHT:int = 4;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const TOP:int = 8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const MIDDLE:int = 16;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const BOTTOM:int = 32;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static const TAG:Array = [18,9,10,12,20,36,34,33,17];<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}</div><p/>大家看懂了吗？接下来要发散思维讲讲更好的用途：<br />一个游戏，他的操作可以八方向，那么你只要记录一个方向数值，初始等于0，表示什么方向键都没按。<br />在用户按了向上键时，加上TOP也就是8；在用户按了向右，那么加上RIGHT也就是4，那么最后这个数值就是12，在TAG数组中，大家看看12正好表示的就是RIGHT_TOP，则立即就可以判断出用户行为的方向。<br />如果用户松开了向上键，那么就减去8，最后等于4，正好和RIGHT值进行位运算时，判断出等于向右。[/align]]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=585]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[我的演讲视频《程序接口的另类理解与使用》]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=581]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Sun, 26 Sep 2010 15:37:36 +0800</pubDate> 
      <description><![CDATA[9月18号参加了上海Flash开发者交流会，以下是我作为演讲嘉宾的演讲视频<br />演讲主题是：《程序接口的另类理解与使用》<br /><div class="ubb-obj-div"><input id="bShowobjbfir" type="hidden" value="-1" /><a href="javascript:ubbShowObj('swf','objbfir','http://player.ku6.com/refer/ddIShoKB_zC2MhLG/v.swf','480','400');"><img src="http://www.xiaos8.com/styles/default/images/icon_media.gif" alt="Media" /> <b>点击播放/隐藏媒体</b></a><div id="objbfir"><a href="http://player.ku6.com/refer/ddIShoKB_zC2MhLG/v.swf" target="_blank">http://player.ku6.com/refer/ddIShoKB_zC2MhLG/v.swf</a></div></div><br />如果有什么评论，或者建议的，可以留言告诉我，如果是想喷我的，也继续吧，听听其它的意见也是可以很好的审视自己的观点。<br />要PPT文档的，请到这个页面：<a href="http://www.xiaos8.com/article.asp?id=580" title="http://www.xiaos8.com/article.asp?id=580" target="_blank">http://www.xiaos8.com/article.asp?id=580</a>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=581]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[作为演讲嘉宾参加第五届Flash者交流大会感想]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=580]]></link> 
      <category><![CDATA[生活日志]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Sat, 18 Sep 2010 23:35:39 +0800</pubDate> 
      <description><![CDATA[今天是我第一次演讲，刚上台的时候很怕自己讲的不是很好，毕竟选的命题专业性比较强，自己并不是程序科班出生，没想到今天发挥的还不错。本来准备的内容自己合计着怎么也没有30分钟，可是没想到竟然也瞎掰了1个小时，同僚们还听的津津有味，这儿小小的自豪一下，呵呵。<p/>今天总的感觉很不错，认识了一些大牌开发者，比如黄炎中，当然云开，廖湘宁等人早就认识了，后来还美美的吃上一顿。演讲的视频随后应该会在大会的官网公布，那么我会第一时间转载过来给大家分享我演讲的具体内容。谢谢。<p/><b><span style="color:red">以下是各种传送门：</span></b><p/>这个是演讲文档的下载地址：<br /><a href="http://www.xiaos8.com/uploads/interface.rar" title="http://www.xiaos8.com/uploads/interface.rar" target="_blank">http://www.xiaos8.com/uploads/interface.rar</a><p/>另外我们公司的产品官网地址是：<br /><a href="http://www.wizworldonline.com" title="http://www.wizworldonline.com" target="_blank">http://www.wizworldonline.com</a><br />如果有兴趣的话，可以自己下载来看看，如果是有小孩子，那么更需要推荐你们去试试了，效果真的很不错的，当然成年想学英语通过这个软件也是会很简单的。<br />另外这个是我们产品的介绍：<a href="http://www.xiaos8.com/article.asp?id=458" title="http://www.xiaos8.com/article.asp?id=458" target="_blank">http://www.xiaos8.com/article.asp?id=458</a><p/>下面是寻路相关的链接：<br />A星算法讲解：<a href="http://www.xiaos8.com/article.asp?id=312" title="http://www.xiaos8.com/article.asp?id=312" target="_blank">http://www.xiaos8.com/article.asp?id=312</a><br />A星算法源代码：<a href="http://www.xiaos8.com/article.asp?id=371" title="http://www.xiaos8.com/article.asp?id=371" target="_blank">http://www.xiaos8.com/article.asp?id=371</a><p/>下面是开源类Level2D：<br /><a href="http://www.xiaos8.com/article.asp?id=114" title="http://www.xiaos8.com/article.asp?id=114" target="_blank">http://www.xiaos8.com/article.asp?id=114</a><p/>下面是关于锁帧，创建更准确的Timer对象：<br /><a href="http://www.xiaos8.com/article.asp?id=432" title="http://www.xiaos8.com/article.asp?id=432" target="_blank">http://www.xiaos8.com/article.asp?id=432</a><p/><span style="color:red">似乎相关的传送门都有了，不知道还缺什么？</span><br />不知道明天我博客访问量会不会增加，不过如果你来过了，又顺手了，那么就留个言吧！]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=580]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[第五届Flash开发者交流会(我是演讲嘉宾)]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=542]]></link> 
      <category><![CDATA[AS相关资讯]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Tue, 24 Aug 2010 13:59:08 +0800</pubDate> 
      <description><![CDATA[<b>这次活动，很荣幸我被邀请作为演讲嘉宾，我选的主题是《程序接口的另类理解与使用》，到时候欢迎大家去听听，随后我会在我博客公布演讲使用的PPT文档以及演示代码等。如果会前，会中，会后有任何建议，可以告诉我，可以通过博客，或者大会现场提问，谢谢大家支持。</b><p/><div class="quote"><div class="quote-title"> 活动信息（活动网址：<a href="http://www.wedoswf.com" title="http://www.wedoswf.com" target="_blank">http://www.wedoswf.com</a> ）</div><div class="quote-content"><ul class="ubb-list" ><li>活动时间：2010年9月18日 星期六</li><li>活动地点：上海浦东新区碧波路888号畅星大厦3楼会议厅</li><li>报名地址：<a href="http://www.wedoswf.com/events/1" title="http://www.wedoswf.com/events/1" target="_blank">http://www.wedoswf.com/events/1</a></li><li>议程安排：<ul class="ubb-list" ><li>12:30 ~ 13:00 参会人员签到，入场</li><li>13:15 ~ 15:00 主题讨论</li><li>15:00 ~ 15:15 茶歇和聊天</li><li>15:15 ~ 17:30 主题讨论</li><li>18:00 技术交流和讨论</li></ul></li></ul></div></div><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>Adobe 平台技术</b><p/>主讲人：Gary Zhu -   Adobe 平台技术总监<br />Gary 多年工作于 Adobe 公司工作，从事软件产品和平台技术的发展与推广工作。此次Gary远道而来，将为我们介绍 Adobe 平台技术的发展和Flash移动应用软件的开发。</div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>程序接口的另类理解与使用</b><p/>主讲人：孙毅<br />曾就职五分钟，任Flash部门主管，并开发《绿豆蛙—漂流岛社区》等项目；现就职八方视界，任Flash部门高级主管，并负责其产品《唯智学园》Flash部分主程，以及Flash性能等各方面研究。<br />孙毅的博客：<a href="http://www.xiaos8.com" title="http://www.xiaos8.com" target="_blank">http://www.xiaos8.com</a></div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>Flash Media Server 开发经验谈</b><p/>主讲人：沈先彬<br />从事FLASH 游戏与AIR应用开发，参与开发项目有 梦境世界 三十六计等，目前在开发WEBGAME。<br />沈先彬的博客：<a href="http://blog.sina.com.cn/shenxianbin" title="http://blog.sina.com.cn/shenxianbin" target="_blank">http://blog.sina.com.cn/shenxianbin</a></div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>Flash RIA的可用性</b><p/>主讲人：刘轩飞<br />晒台网首席产品管，10年前端设计和开发经验，信仰互联网，以提供最佳互联网用户体验为己任<br />刘轩飞的博客：<a href="http://www.xuanfei.me" title="http://www.xuanfei.me" target="_blank">http://www.xuanfei.me</a></div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>麻球大赛优秀作品介绍</b><p/>主讲人：廖湘宁<br />廖湘宁多年来从事视频互动创意与游戏开发，目前在麻球网担任开发者社区经理，负责麻球网(Mochi Media)平台的本土化研发与推广工作。<br />廖湘宁的博客: <a href="http://www.xncat.com" title="http://www.xncat.com" target="_blank">http://www.xncat.com</a></div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>麻球参赛游戏蛛蛛冒险的开发与设计经验分享</b><p/>主讲人：徐黎明<br />曾任TCL教育互联 研发主管，广州市远程教育中心 开发主管。涉足麻球平台之后，钟情于游戏开发，创办Tinime 工作室。</div></div><p/><div class="quote"><div class="quote-title"> 话题介绍</div><div class="quote-content"><b>麻球参赛游戏DNF，梦幻塔防技术与吖凡哒哒美工设计经验分享</b><p/>主讲人：商文烨<br />中国第三代闪客，个人作品获得过无数奖项并在中央电视台播出，06年担任搜狐17173频道主管并连续4年获得搜狐最佳称号，2009年成立传奇网科，旗下传动力工作室便是当今最脍炙人口的休闲小游戏开发团队！</div></div>]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=542]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[为什么大家都用变量&quot;i&quot;？]]></title> 
      <link><![CDATA[http://www.xiaos8.com/article.asp?id=579]]></link> 
      <category><![CDATA[ActionScript 3.0]]></category> 
      <author><![CDATA[sunbright <null@null.com>]]></author> 
      <pubDate>Mon, 23 Aug 2010 16:23:47 +0800</pubDate> 
      <description><![CDATA[今天在写for循环的时候，突然想到为什么一定要用变量&quot;i&quot;来迭代呢？如果用a,b,c等变量命名也不会冲突啊。<br />相信大部分人都是因为，前辈都用&quot;i&quot;，因此我们这些后学的晚生也就用它了。<br />抱着刨根究底的恶心思想，纠结了几分钟后，突然想起来有个单词叫index，是索引的意思。<br />然后问了一下周边的C++程序员们，本来还是各抒己见，有个人说应该是index的缩写吧。<br />于是所有人都一致认为就是这个意思了。<p/>这个问题可能讨论起来没什么意义，不过还是可以无聊的考虑一下，那么你觉得会是什么原因呢？另外第一个用变量&quot;i&quot;的程序员，他当时是不是就是这样想的呢？]]></description>
      <wfw:commentRss><![CDATA[http://www.xiaos8.com/feed.asp?q=comment&id=579]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>

