 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.managers.CursorManager;
-import mx.managers.SystemManager;
+import mx.managers.ISystemManager;
 import mx.managers.SystemManagerGlobals;
 import mx.styles.ISimpleStyleClient;
 import mx.utils.LoaderUtil;

        
        try
        {
            var sm:SystemManager = content as SystemManager;
            if (sm != null)
                sm.regenerateStyleCache(recursive);
        }
        catch(error:Error)
        {
            // Ignore any errors trying to access the content
            // b/c we may cause a security violation trying to do it
        }
    }


        
        try
        {
            var sm:ISystemManager = content as ISystemManager;
            if (sm != null)
                Object(sm).notifyStyleChangeInChildren(styleProp, recursive);
        }
        catch(error:Error)
        {
            // Ignore any errors trying to access the content
            // b/c we may cause a security violation trying to do it
			// Also ignore if the sm doesn't have a notifyStyleChangeInChildren method
        }
    }
    
