      */
     mx_internal function setLocalStyle(styleProp:String, value:*):void
     {
+        var oldValue:Object = getStyle(styleProp);
+
         // If setting to undefined, clear the style attribute.
         if (value === undefined) // must use ===
         {

     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public var factory:Function;

    //----------------------------------
    //  overrides
    //----------------------------------

    /**
     *  If the <code>setStyle()</code> method is called on a UIComponent or CSSStyleDeclaration


import mx.core.Singleton;
import mx.core.mx_internal;
import mx.events.FlexChangeEvent;
import mx.managers.ISystemManager;
import mx.managers.SystemManagerGlobals;
import mx.utils.ObjectUtil;

use namespace mx_internal;

