- 博客(33)
- 资源 (3)
- 收藏
- 关注
原创 AS3精辟代码若干
-------------------------------------------------------------★★★排列表格最简脚本:【AS3/AS2通用】mc.x = 50 * (i % a); //50 水平间距,i 增量,a 水平数量mc.y = 100 * ((i - i % a) / a); //100 垂直间距------------------------
2013-04-16 18:01:10 788
原创 FD快捷键
ctrl +shift+E 开全部ctrl +shift+F一个个开ctrl +shift+A全部关 引发类型为"Flash.Tools.Debugger.NoResponseException"的异常http://www.flashdevelop.org/community/viewtopic.php?p=32436
2013-04-30 17:04:01 2838
原创 bug
5天学习完毕之后,用户第6天再次进入“开心课堂”,则提示是否升级付费用户,否则;使用第一个故事第5天的场景进行学习; 用户学习完毕60个启蒙字之后,用户再次进入学习,则提示用户升级付费用户,否则无法进行学习; 若用户设置日最大学习字数,导致最后的时候,不满每日最大学习字数,则调用到60字为止;后台做~~~ 后台要做判断,当VIP=0时,返回超过60字。截
2013-04-29 09:38:33 1862
原创 移动项目必知必会——打包ipa时的真机尺寸
操守portrait 设置方向direct 格式http://ishare.iask.sina.com.cn/f/4628400.html Flash Builder 找不到连接的设备难题flash develop device size mobile关键字:flash develop device size mobile package参考
2013-04-28 12:27:22 2163
原创 TweenMax常用代码
flash 性能分析工具http://blog.csdn.net/maixia24/article/details/8794303http://www.oschina.net/p/theminer 变暗 禁用按钮TweenMax.to(LM.getBT(view, 'BTgo'), 0, {colorMatrixFilter:{colorize:0x000000, amount
2013-04-27 15:49:23 2151
原创 Starling测试--发布
this application is not correctly embedded (wrong wmode value)renderMode direct D:\wai\CDemo\jonny_ios_dev.p12D:\wai\CDemo\cn.jonny.debug修改SRC文件夹下的选择发布路径
2013-04-27 11:04:04 2088
原创 AS3之解析XML
范例代码: var xml:XML= 目的:要得到type为pet的name, 用@type属性找,注意写法带圆括号,包含@ .(@type == 'pet')var xml2:XMLList = xml.item.(@type == 'pet');for (var i:* in xml2) { trace(i,xml2[i]);}
2013-04-25 11:16:54 2238
原创 移动项目必知必会——2分钟FD打包IPA
1 创建移动项目Project-->New Project-->AIR Mobile AS3 App(ActionScript)2 修改配置,有2处A SDK路径项目创建好之后,目录下有个AIR_IOS_readme.txt 按F8按F5B 密码复制*.p12和*.mobileprovision到cert文件夹。第5步,打开bat/Setu
2013-04-24 16:31:57 2558
原创 Feathers组件--之--高亮按钮
Feathers组件--之--高亮按钮帮助var filter:ColorMatrixFilter = new ColorMatrixFilter();filter.adjustBrightness(0.1);_pp.filter = filter;在“正在刷新项目“CDemo”...”期间发生了内部错误。Error reading persistence file
2013-04-24 14:03:45 2388
原创 Feather组件之基本功
Quad此Quad不是彼Quad,starling.display.Quad;com.greensock.easing.Quad;
2013-04-24 11:50:37 2322
原创 项目疑难问题解决
上一个game.swf 错误, study.swf正常 cs4 111111第一遍没有查看之前阅读时阅读后调用 下载执行了2次 关键,调用了移除书 执行了2遍,之前执行一遍
2013-04-21 15:32:38 2145
原创 Feathers组件-锦囊妙计--在List用文字滤镜
List单独时可以的。因为放在Screen下面,所以List失效?Shell里面的参数?背景是否有半透明遮罩问题: 项目用List列表,要显示文本,文本有外发光,但是没有效果解决:适用于所有元件,文本开个头而已秘诀1: 设置clipContent为false,这样在ScrollContainer OK, list.scrollerProp
2013-04-19 17:52:37 2392
原创 Feathers组件--之--列表面板中的按钮
官网论坛 http://forum.starling-framework.org/forum/feathers密码:g#*x$q(o(bRA关键词:custom ItemRender, button, image常用词: scissoring 剪裁国人一样的困扰 http://bbs.9ria.com/thread-170157-1-1.html 自9ria
2013-04-18 16:16:43 2203
原创 Feathers组件--之--嵌入位图字体
用法myAnklepants[Embed(source = "/../../assets/fonts/bitmapFont.fnt", mimeType = "application/octet-stream")]private static const BitmapCharsXML:Class;// [Embed(source = "/../../assets/fon
2013-04-18 14:47:20 1111
原创 Feathers组件--之--窗口
ScreenNavigatorItemoverride protected function draw():void { }这个干吗用?Override to customize layout and to adjust properties of children.布局的代码都写在这
2013-04-16 17:40:51 898
转载 [AS3]as3调用字体as3嵌入外部字体的教程示例
首先在新建个fla命名为font.fla, Ctrl+L 调出库面板.右键点击库面板的空白处,新建字体.... 调出 字体元件属性 窗口.选择要嵌入的字体, 并选择为ActionScript 导出. 填入自己的类名. 确定并Ctrl+Enter 导出 font.swfOK,字体库已经准备就绪了,下面是应用篇 下面是应用篇的为文档类.提示:Font.registe
2013-04-16 10:36:09 2343
原创 Feathers组件--之--按钮
Starling的项目使用_按钮切换按钮渲染方面的属性官网: http://www.starlinglib.com/wiki/Feathers:button //带按钮事件 var btn_evt:Button = new Button; btn_evt.name = '《按钮1》'; btn_evt.defaultSkin = new Image
2013-04-13 13:09:10 871
原创 Feathers组件--之--列表
自定义 列表内容[参考]1 List组件用法 http://www.starlinglib.com/wiki/Feathers:list [ENGLISH] http://wiki.starling-framework.org/feathers/list2 自定义列表 Creating Custom Item Renderers http://www.starlinglib
2013-04-13 12:55:57 2512
翻译 自定义渲染器和主题的问题
自定义渲染器和主题的问题[ENGLISH]Problem With custon List ItemRenderer and theme[原文]http://forum.starling-framework.org/topic/problem-with-custom-list-itemrenderer-and-theme开始要做自定义列表项渲染主题,比如,用Me
2013-04-11 17:37:47 1137
原创 Feathers项目实战_面板
D:\starling\130411_feathers可选标签和一张可选图标九宫格面板 文件: starling\130406feathers-1.0.1\examples\DisplayObjectExplorer组件包怎么做反编译怎么做 改成错误:复制其他项目主文件,覆盖同样的错误,同样的修改,三个地方goog
2013-04-11 13:59:17 1525
原创 Feathers之嵌入图形
代码用法嵌入部分[Embed(source="/../assets/ui/ui.png")]private static const UI_IMAGE:Class;//所有图标[Embed(source="/../assets/ui/ui.xml",mimeType="application/octet-stream")]private static const UI_X
2013-04-10 18:27:56 790
原创 Srarling实录——FD版本
http://www.cnblogs.com/adoontheway/archive/2013/03/08/2949698.html 摸索Flash移动开发 系列教程是FD项目下载:https://github.com/AdoBeatTheWorld/Sanguo编译有问题:invalid application descritor: Unknown namespace:
2013-04-08 16:41:31 1017
原创 装系统
小马PEhttp://www.pccppc.com/show/2843.html?spm=a1z09.2.0.522.E5Ez10 准备把家里的mini改成win XP Asus 华硕 X201L3217E/34CDJX1P 安装到:D:\Program Files\FlashDevelop
2013-04-07 17:23:24 607
原创 网盘
下载 51网盘用户名:he***yahoo*** 密码:ww***邮箱:he***yahoo*** 密码:he***123非常繁琐,严重不合理
2013-04-07 17:21:24 631
原创 Starling实录--Starling资料汇总
Starling实录--Starling资料汇总 貌似feather用来做复用组件,只有孤例,没必要用吧 http://home.cnblogs.com/group/topic/61403.html API文档:http://feathersui.com/documentation/入门教程:http://wiki.starling-framework.org/feathe
2013-04-07 17:18:19 935
原创 Starling实录-2理解它
已经删除 20130407feathers-examples-master文本外发光4个主题的效果:MinimalMobileThemeMetalWorksMobileThemeAzureMobileThemeAeonDesktopTheme
2013-04-07 13:27:27 866
原创 Starling实录——1-Flash Builder安装与配置
Flex SDK4.6+AIR SDK3.6升级SDK4.7:http://blog.sina.com.cn/s/blog_6bfa2fc10101c3mb.html必须升级,否则报错,比如 flash builder 未安装所需版本的flash player。。。。。。所需版本11,2,0,0。。。。Player 11.61)下载地址:http://helpx.ado
2013-04-02 15:23:18 1561
原创 Cocos快捷入口
cocos2dX官网帮助http://www.cocos2d-x.org/reference/native-cpp/index.htmlSprite部分http://www.cocos2d-x.org/reference/native-cpp/d4/de7/classcocos2d_1_1_c_c_sprite.html原图-变白 ccBlendFunc cc
2013-04-01 09:53:03 893
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人