# Displaying in line images in Flash dynamic text box

**URL:** <https://forum.kirupa.com/t/displaying-in-line-images-in-flash-dynamic-text-box/165536>\
**Category:** flash\
**Created:** [October 11, 2005, 8:57pm UTC](https://forum.kirupa.com/t/displaying-in-line-images-in-flash-dynamic-text-box/165536 "2005-10-11T20:57:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curtisdw](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@Curtisdw](https://forum.kirupa.com/u/Curtisdw)\
**Post date:** [October 11, 2005, 8:57pm UTC](https://forum.kirupa.com/t/displaying-in-line-images-in-flash-dynamic-text-box/165536/1 "2005-10-11T20:57:43Z")

</div>

Hello all -

I have checked out the sample in Flash MX 2004 regarding “Text Enhancements” … I even got my file to load and scroll properly - my problem/question is this:

Sometimes the text displays fine … but after I edit my external html file to display an inline image, the text formats to a couple of point sizes smaller, so its difficult to read.

Even after I take the image tag out of my external html file, the text size still remains the same (small) size.

Does anyone have an idea why this is OR how I can fix it?  
Won’t you please help? :pir:

Here are my files for reference:

main site: [http://www.curtisdw.com/wellbrock/Wellbrock\_content.html](http://www.curtisdw.com/wellbrock/Wellbrock_content.html) (go to ‘Our Story’)  
CSS file: [http://www.curtisdw.com/wellbrock/sample.css](http://www.curtisdw.com/wellbrock/sample.css)  
external html file: [http://www.curtisdw.com/wellbrock/TXT/sample.html](http://www.curtisdw.com/wellbrock/TXT/sample.html)

Actionscript to load external file:  
[indent][COLOR=DarkRed]var ss:TextField.StyleSheet = new TextField.StyleSheet();  
ss.load(“sample.css”);  
content.styleSheet = ss;

content.multiline= true;  
content.wordWrap = true;  
content.html = true;

story = new XML();  
story.ignoreWhite = true;  
story.load(“TXT/sample.html”);  
story.onLoad = function () {   
content.htmlText = story;  
}[/COLOR][/indent]
