Parses plain text stylesheets into XML.
For notes on what css syntax is allowed, please look at the CSSLoader source at:
http://www.rubenswieringa.com/code/as3/flex/CSSLoader/source/
public function CSSParser()
constructor
public function parse(raw:String):XML
parses the plain text stylesheet from a css file
Parameters
| raw:String — the plain text stylesheet from a css file
|
Returns
| XML — the stylesheet in xml format
|
Event object type: mx.events.Event
Dispatched when a parsing error occurs.
public static const COLORKEYS:Object
public static const COLORVALUE:RegExp
public static const COLORVALUE_SHORTHAND:RegExp
public static const COMMENTS:RegExp
public static const ERROR:String = "onCSSParseError"
public static const PIXELVALUE_REPLACE:RegExp
public static const PIXELVALUE_SEARCH:RegExp
public static const WHITESPACE:RegExp