摘要: JamesLi的文章:http://www.adobe.com/cn/devnet/actionscript/articles/silkflash-as.html总结一下绚丽效果的核心:1、利用一个Bitmapdata承载全部画面内容。不要用N多的元件,否则性能会非常低下。2、利用graphics的drawPath,画出各种曲线。3、利用bitmapdata.draw,把曲线不断绘制,并利用ColorTransform做一定的颜色和透明度变化。4、James的文章巧妙之处是利用细线充当填充(设置lineStyle的thickness,0 = hairline thickness) 阅读全文
posted @ 2013-10-28 19:13 拂晓风起-Kenko 阅读(590) 评论(0) 推荐(0) 编辑