Merge branch 'staging'
[potlatch2.git] / net / systemeD / halcyon / styleparser / NestedCSSLoader.as
index d088f63cb18cb852d3ae09be59f5faa0b261b437..b03f1b381de5fe3f29082a8e975cc397020986d8 100644 (file)
@@ -1,22 +1,22 @@
 package net.systemeD.halcyon.styleparser {
 
 package net.systemeD.halcyon.styleparser {
 
-       /** A class permitting you to load CSS files containing '@import' rules, which will be 
-       *       automatically replaced with the contents of the file.
-       *
-       *   Typical usage:
-       *
-       *               cssLoader=new NestedCSSLoader();
-       *               cssLoader.addEventListener(Event.COMPLETE, doParseCSS);
-       *               cssLoader.load("potlatch.css");
-       *
-       *       doParseCSS can then access the CSS via event.target.css.
-       */
-
        import flash.events.*;
        import flash.net.URLLoader;
        import flash.net.URLLoaderDataFormat;
        import flash.net.URLRequest;
 
        import flash.events.*;
        import flash.net.URLLoader;
        import flash.net.URLLoaderDataFormat;
        import flash.net.URLRequest;
 
+       /** A class permitting you to load CSS files containing 'import' rules, which will be 
+               automatically replaced with the contents of the file.                                                                   <p>
+       
+               Typical usage:                                                                                                                                                  </p><pre>
+       
+                       cssLoader=new NestedCSSLoader();
+                       cssLoader.addEventListener(Event.COMPLETE, doParseCSS);
+                       cssLoader.load("potlatch.css");                                                                                                         </pre><p>
+       
+               doParseCSS can then access the CSS via event.target.css.                                                                </p>
+       */
+
        public class NestedCSSLoader extends EventDispatcher {
                private var sourceCSS:String;
                public var css:String;
        public class NestedCSSLoader extends EventDispatcher {
                private var sourceCSS:String;
                public var css:String;