  		else
 		    return;
         
-        factory.bounds = mx_internal::bounds;   
-
+        factory.compositionBounds = mx_internal::bounds;   
+        
         // Set up the truncation options.
         var truncationOptions:TruncationOptions;
         if (truncation != 0)

            
            // There should always be a composer but be safe.
            if (textFlow.flowComposer)
                textFlow.flowComposer.textLineCreator = textLineCreator;
        }

        return textFlow;


        // Create a single Configuration used by all RichText instances.
        staticConfiguration = Configuration(
        	StringTextLineFactory.defaultConfiguration).clone();
        staticConfiguration.textFlowInitialFormat = staticTextLayoutFormat;            

        // Create the factory used to create TextLines from 'text'.
