摘要:
XML中预定义好的实体 < --------------------------- 大于号 <= --------------------------- = 大于等于号 & ------------------------ & 和 ' ----------------------- ' 单引号 " ----------------------- "...
阅读全文
posted @ 2008-12-18 09:00
monki
阅读(216)
推荐(0)
摘要:
在文章 “给TextArea使用CSS实现QQ聊天窗口内容排版”中有用,为了让TextArea的html属性改变后就将滚动条显示到最底部,如果赋值后,马上调用textArea.verticalScrollPosition=textArea.maxVerticalScrollPosition;得到的效果根本不是我们想要的。为了实现这个效果,我开始时采用的是延时执行,后面发现这是一个非常不好的方法,其...
阅读全文
posted @ 2008-11-07 14:14
monki
阅读(644)
推荐(0)
摘要:
例子: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
阅读全文
posted @ 2008-09-26 16:03
monki
阅读(382)
推荐(0)
摘要:
在Flex中嵌入字体, 可用CSS样式来嵌入. 但嵌入的字体过大时,编译会很慢.当然生成的文件体积也会相应变大的. 网速慢的请耐心等会 @font-face { font-family:myfont; src:url("fonts/myfont.ttf"); } .myS...
阅读全文
posted @ 2008-09-26 15:49
monki
阅读(903)
推荐(0)
摘要:
作用这里就不做介绍了,实现方式如下: Singleton.as Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package { public class Singleton { private stat...
阅读全文
posted @ 2008-09-25 17:53
monki
阅读(109)
推荐(0)
摘要:
用Form做了个登录窗口组件,包括两个文件:LoginForm.mxml和LoginFormEvent.as 代码如下: LoginForm.mxml Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ...
阅读全文
posted @ 2008-09-25 16:16
monki
阅读(289)
推荐(0)
摘要:
结果是: Default Constructor 1 stylesInitialized 2 createChildren 3 measure 4 updateDisplayList 5 测试代码如下: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter....
阅读全文
posted @ 2008-09-24 14:20
monki
阅读(376)
推荐(0)