                     {
                         if (styleNames[c].length)
                         {
-                            styleDeclarations.push(styleManager.getStyleDeclaration("." + styleNames[c]));
+                            styleDeclarations.push(styleManager.getMergedStyleDeclaration("." + styleNames[c]));
                         }
                     }
                 }

                {
                    if (styleNames[i].length)
                    {
                        styleDeclaration = styleManager.getStyleDeclaration("." + styleNames[i]);
                        if (styleDeclaration)
                            universalSelectors.push(styleDeclaration);
                    }

                for (var c:int=0; c < styleNames.length; c++)
                {
                    if (styleNames[c].length) {
                        classSelectors.push(styleManager.getMergedStyleDeclaration("." + 
                            styleNames[c]));
                    }
                }    
