# AS2:: Possibly print a string?

**URL:** https://forum.kirupa.com/t/as2-possibly-print-a-string/245298
**Category:** flash
**Created:** [November 28, 2007, 11:54am UTC](https://forum.kirupa.com/t/as2-possibly-print-a-string/245298 "2007-11-28T11:54:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)
#### Post date: [November 28, 2007, 11:54am UTC](https://forum.kirupa.com/t/as2-possibly-print-a-string/245298/1 "2007-11-28T11:54:50Z")

</div>

I have been havign mega issues with printing text within flash for example if text is hidden by a scrollbar then it cuts the text off so I have been trying to think of a way to get around it.

Is it possible to print a string directly from actionscript?

Or possibly something like calling the text in from a .txt file and printing that for, guessing something along the lines of:

```auto
 
var TestString:String = new String;
 loadVariables("printTest.txt",TestString)
 trace(TestString);

```

Any help on this matter would be great as I am totally stuck.
