 import flash.display.DisplayObject;
 import flash.events.EventDispatcher;
 import flash.utils.Dictionary;
+
 import mx.core.Singleton;
 import mx.core.mx_internal;
 import mx.managers.SystemManagerGlobals;

    /**
     *  Constructor.
     *
     *  @param selector If not null, this CSSStyleDeclaration will be
     *  registered with the StyleManager using the selector value.
     */
    public function CSSStyleDeclaration(selector:String = null)
    {
        super();

        if (selector)
        {
            // do not reference StyleManager directly because this is a bootstrap class
            styleManager = Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2;
            styleManager.setStyleDeclaration(selector, this, false);
        }
    }


 *  style properties on a CSSStyleDeclaration.</p>
 *
 *  <p>You can also create and install a CSSStyleDeclaration at run time
 *  using the <code>StyleManager.addStyleDeclaration()</code> method:
 *  <pre>
 *  var newStyleDeclaration:CSSStyleDeclaration = new CSSStyleDeclaration(".bigMargins");
 *  newStyleDeclaration.defaultFactory = function():void
 *  {
 *      leftMargin = 50;
 *      rightMargin = 50;
 *  }
 *  StyleManager.addStyleDeclaration(newStyleDeclaration, true);
 *  </pre>
 *  </p>
 *
