有米啦

前端 分享 交流
tips

栏目:UX , css+xhtml , web前端share      332 views

Brosho Plugin – Example http://bit.ly/cB4Bcc
一个js搞的类似firebug的调试工具,可以捕捉dom元素和选择器,可以update css样式。
不过使用的时候要嵌入两个js
我试了一下ie下有bug,chrome 和 firefox 以及safari都没问题。
阅读全文——共158字

标签: , , , , ,
阅读全文      评论关闭

栏目:小憩随笔      329 views

转自:http://blog.comtaste.com/2008/11/how_to_know_who_called_my_acti.html

A good debug tip when you program in actionscript is to know who and when has called your method. This can be done by generating an error using the “throw new Error()” command inside the traced method. Through a custom error exception we can trace the stack and see the iter of the entire process.
阅读全文——共900字

标签: , ,
阅读全文      评论关闭

栏目:actionscript3.0 , web前端share      319 views

最近我研究了一些AS3代码优化的文章,一般都是集中在研究loops 和 Number types上的,本文不在重复类似的测试
下面是我的一些测试结果
Array & Object constructing
构造数组和对象的时候,new Array() and new Object()要比 [] and {}慢3倍的时间
阅读全文——共1802字

标签: ,
阅读全文      评论关闭