AS ideas

A new idea means a new world.

导航

2009年8月3日

摘要: 1. a&1 if (a>0&&(trace("a是正数"),a&1))trace("a是正奇数");//当a>0时,这是第一个表达式返回true,才会执行第二个表达式,就会输出"a是正数",当a&1也返回true时,就会输出"a是正奇数"! 这里的a&1之前都不知道是什么意思, 今天搞明白了 a&1的意思就是判断a是奇数还是偶数... 阅读全文

posted @ 2009-08-03 11:32 凤城14郞 阅读(145) 评论(0) 推荐(1)

摘要: dispatchevent就是发出一个事件,他自己,还有他的八辈祖宗都能收到(冒泡=true)能发出事件的对象必须实现IEventDispatcher 并且由 EventDispatcher发出 ,你可以继承EventDispatcher或复合EventDispatcher。EventDispatcher也是显示对象的祖宗,显示对象都可以发出事件a.dispatchEvent(new Event(... 阅读全文

posted @ 2009-08-03 11:30 凤城14郞 阅读(234) 评论(0) 推荐(1)

摘要: Flash Builder 4 Standalone InstallerThe following downloads will install prerelease versions of Flash Builder 4 for Windows and Macintosh. If you are not already using Eclipse, you will most likely wa... 阅读全文

posted @ 2009-08-03 01:47 凤城14郞 阅读(1640) 评论(1) 推荐(1)