09 2012 档案

jsfl批量导出swf
摘要:var inputPath = "file:///E|/work/war_test/bin-debug/fla/fight/";var exportPath="file:///E|/work/war_test/bin-debug/swf/fight/";fl.trace(inputPath);//封装成一个函数function IOExecute(flaName,swfName){ //打开需要导出的fla源文件 var fla=fl.openDocument(inputPath + flaName); //导出影片 fla.exportSWF(expo 阅读全文

posted @ 2012-09-17 11:27 防空洞123 阅读(652) 评论(0) 推荐(0) 编辑

as3 htmlText常用标签
摘要:<a> 说明:建立超链接属性:href 超链接使用的网址URL。target 连接打开的目标。例如:txt.htmlText = "<a href='http://fdbinghen.com' target='_blank'>风冻冰痕</a>";<b>说明:文字粗体显示。例如:txt.htmlText = "<b>风冻冰痕</b>";<br>说明:不分段换行。例如:txt.htmlText = "风冻<br>冰痕&qu 阅读全文

posted @ 2012-09-15 12:40 防空洞123 阅读(2102) 评论(0) 推荐(0) 编辑

as3 用StyleSheet css 设置文本样式
摘要:import flash.text.TextField;import flash.text.StyleSheet;var txt:TextField = new TextField();addChild(txt);var style:StyleSheet = new StyleSheet();style.setStyle(".username", {color: "#FF0000",fontWeight:"bold"});txt.styleSheet = style;txt.htmlText = "<span clas 阅读全文

posted @ 2012-09-15 11:53 防空洞123 阅读(965) 评论(0) 推荐(0) 编辑

神仙道游戏系统分析
摘要:http://bbs.gameres.com/thread_181723.html 阅读全文

posted @ 2012-09-14 12:05 防空洞123 阅读(146) 评论(0) 推荐(0) 编辑

tweenlite的组合使用
摘要:http://www.iamcoding.com/?p=217http://blog.sina.com.cn/s/blog_4bfac6ef01014b1q.htmlTweenLite下载地址:http://blog.greensock.com/tweenlite/为什么要用TWEENLITE而不用ADOBE官方的TWEEN?效率(这也是作者所标榜的TWEENLITE2大优点之一,呵呵,“标榜”这个词用得可能有点过了,不过人家确实有那个实力)这里有2者运行效率对比的例子:tweening-speed-testonComplete, onStart, onUpdate 等回调方法是TWEEN所没 阅读全文

posted @ 2012-09-11 18:43 防空洞123 阅读(460) 评论(0) 推荐(0) 编辑

C++资料
摘要:推荐一个好的视频网站,看视频就是比看书学习快啊。http://www.enet.com.cn/eschool/video/c++/ 阅读全文

posted @ 2012-09-08 17:48 防空洞123 阅读(111) 评论(0) 推荐(0) 编辑

导航