 			// We might have a new TextFlow, or a new hostFormat,
 			// so attach the latter to the former.
 			_textFlow.hostFormat = hostFormat;
-		
-			if (_textFlow.flowComposer)
-			{
-				_textFlow.flowComposer.swfContext = 
-					staticTextFlowFactory.swfContext;
-			}
-            
+	
             // Add a damage handler.
             _textFlow.addEventListener(DamageEvent.DAMAGE, 
                                        textFlow_damageHandler);

            truncationOptions.truncationIndicator =
                TextBase.truncationIndicatorResource;
        }        
		factory.truncationOptions = truncationOptions;
		
        if (factory is StringTextLineFactory)
        {
			// We know text is non-null since it got this far.
			staticStringFactory.text = _text;
			staticStringFactory.textFlowFormat = hostFormat;
			staticStringFactory.createTextLines(addTextLine);
		}
        else if (factory is TextFlowTextLineFactory)
        {
            staticTextFlowFactory.createTextLines(addTextLine, _textFlow);
        }
        

    
        lastGeneration = _textFlow ? _textFlow.generation : 0;
        
        // At this point we know which TextLineFactory we're going to use
        // and we know the _text or _textFlow that it will compose.
                    
		// If the styles have changed, hostFormat will have
		// been set to null to indicate that it is invalid.
		// In that case, create a new one.
