             }
             else
             {
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
             }
         }
 

            if (!styleDeclaration)
            {
                styleDeclaration = new CSSStyleDeclaration();
                styleDeclaration.mx_internal::setStyle(styleProp, newValue);

                // If nonInheritingStyles is undefined, then this object is being
                // initialized and we haven't yet generated the proto chain.  To

            if (!styleDeclaration)
            {
                styleDeclaration = new CSSStyleDeclaration();
                styleDeclaration.setLocalStyle(styleProp, newValue);

                // If inheritingStyles is undefined, then this object is being
                // initialized and we haven't yet generated the proto chain.  To
