Navigation

Previous

Archives

2007年9月28日 @ 14:51

CSSLoader updated

CSSLoader updated 10Apr07 | 0

For a component I'm working on I made some minor changes and additions to the CSSLoader classes.

Demo
Source
Documentation

I removed the ability to include prefixes in your CSS files (like "mx:Button") since there was no way that I could think of to check which prefix an mxml tag has. The prefix feature was removed in favour of the ability to include pseudo-elements (like "a:hover"), which comes in handy when styling htmlText.

The CSSLoader class now also has a function called getHTMLStyleSheet() which returns a StyleSheet instance carrying all style specifications from a CSS file.
Last, I implemented a loadString() method which lets you directly add a plain text stylesheet rather than get the data from a file..

Share

Filed under: 资料 · Tags: css  style  

Articles related:

HTMLStyle  (2007-9-28 14:50:20)

Flex 學習資源更新  (2007-9-14 22:42:21)

FLEX利用CSS传递数据  (2007-8-26 8:48:1)

几个漂亮Button的CSS   (2007-8-20 16:15:33)

Leave a Comment

◎welcome to give out your point。

Misc

Linkage