# Text and Resizing

**URL:** https://forum.kirupa.com/t/text-and-resizing/137834
**Category:** Uncategorized
**Created:** [February 17, 2005, 7:45pm UTC](https://forum.kirupa.com/t/text-and-resizing/137834 "2005-02-17T19:45:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![glazebal](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@glazebal](https://forum.kirupa.com/u/glazebal)
#### Post date: [February 17, 2005, 7:45pm UTC](https://forum.kirupa.com/t/text-and-resizing/137834/1 "2005-02-17T19:45:38Z")

</div>

I know that you can add a scrollbar to display all dynamically loaded text files, but I was wondering if there was a way to have the document resize so all of the text will be visible using no scrollbars within the flash document.

I guess I am just trying to make it look like a regular page as if it were done in Dreamweaver. I have outside people uploading txt files and I want them to seem like they aren’t flash files. Maybe there is another way to do this instead of using flash.

Hoping for some good feedback / info on how to do this.

Thanks in advance.

Here is the code I already have:

loadText = new LoadVars();  
loadText.load(“frontpagetext.text”);  
loadText.onLoad = function() {  
frontpage.text = this.frontpage;  
};
