# Printing Text within an MC

**URL:** <https://forum.kirupa.com/t/printing-text-within-an-mc/5066>\
**Category:** flash\
**Created:** [August 30, 2002, 10:11am UTC](https://forum.kirupa.com/t/printing-text-within-an-mc/5066 "2002-08-30T10:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [August 30, 2002, 10:11am UTC](https://forum.kirupa.com/t/printing-text-within-an-mc/5066/1 "2002-08-30T10:11:06Z")

</div>

Want to print the contents of a dynamic text box. Flash can’t do this to my knowledge so I had to put my text box inside a movieclip and name it PRINTMC. Unfortuately, now that my text box is inside my mc the scroll buttons I made no longer function. I’ve tried putting them inside the movie clip with the text box, and also outside the movie clip but nothing seems to work. my text box is called TECHNICAL if anyone needs that information.

onClipEvent (mouseDown) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse)) {  
scrolldown = true;  
}  
}  
onClipEvent (mouseUp) {  
scrolldown = false;  
}  
onClipEvent (enterFrame) {  
if (scrolldown) {  
\_root.technical.scroll -= 1;  
gotoAndStop(2);  
} else {  
gotoAndStop(1);  
}  
}  
onClipEvent (load) {  
gotoAndStop(1);  
}

I was thinking, now that my text box is INSIDE an mc, do I have to change the code from \_root.technical.scroll? If so anyone got any ideas what I must change it to? If anyone is confused then i can provide an example FLA file of what I mean.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2002, 6:10pm UTC](https://forum.kirupa.com/t/printing-text-within-an-mc/5066/2 "2002-08-30T18:10:48Z")

</div>

you need to use \_root.PRINTMC.technical.scroll

Peace

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2002, 9:01am UTC](https://forum.kirupa.com/t/printing-text-within-an-mc/5066/3 "2002-09-02T09:01:11Z")

</div>

Many thanks. I will try it now and let you know.
