# Outputting data in flash to text documents, creating textdocs with flash & mc filters

**URL:** <https://forum.kirupa.com/t/outputting-data-in-flash-to-text-documents-creating-textdocs-with-flash-mc-filters/223460>\
**Category:** Uncategorized\
**Created:** [April 23, 2007, 1:39am UTC](https://forum.kirupa.com/t/outputting-data-in-flash-to-text-documents-creating-textdocs-with-flash-mc-filters/223460 "2007-04-23T01:39:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mythic\_Fr0st](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@Mythic\_Fr0st](https://forum.kirupa.com/u/Mythic_Fr0st)\
**Post date:** [April 23, 2007, 1:39am UTC](https://forum.kirupa.com/t/outputting-data-in-flash-to-text-documents-creating-textdocs-with-flash-mc-filters/223460/1 "2007-04-23T01:39:59Z")

</div>

Question 1: How do I add a filter to a movieclip from actionscript,  
More specificly, the “adjust color” filter, and I want to decrease brightness, saturation, hue, and contrast… by actionscript…  
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the “filter” tab, then click + and add a adjust color filter, you’ll see what I mean…

Question 2: I need to output text to ‘text’ documents, no I cannot use shared objects for this, as it is a program for a client, and it isn’t safe enough for me…

Basically, this is what I want to do…

```auto
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";

//save to a text document called "archive7" in the directory myProgram\files\
//finished with code...

```

then

on initilization of my program, it’d do this

```auto
//get text from the text document I saved in the directory "myProgram\files\archive7"

```

Thats what I really need

Question 3:Is there a way to create a folder, text document, through flash  
//example

```auto
var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";

```

Can anyone tell me how to do this

Thanks in advance
