# Print problem

**URL:** <https://forum.kirupa.com/t/print-problem/200692>\
**Category:** flash\
**Created:** [September 14, 2006, 9:41am UTC](https://forum.kirupa.com/t/print-problem/200692 "2006-09-14T09:41:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philippa\_P](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Philippa\_P](https://forum.kirupa.com/u/Philippa_P)\
**Post date:** [September 14, 2006, 9:41am UTC](https://forum.kirupa.com/t/print-problem/200692/1 "2006-09-14T09:41:43Z")

</div>

I have created a test print base swf and have used the code below in frame 1 to load another movie into it called “TestPrint.swf”. I have a button called “my\_btn” located in “TestPrint.swf”. I have targeted this button in the code below (or so I thought). This is designed to print the contents of frames 1 and 2 within the swf. There are no movieclips within the loaded swf.

this.createEmptyMovieClip(“holder\_mc”, 999);  
holder\_mc.loadMovie(“TestPrint.swf”);

this.holder\_mc.my\_btn.onRelease = function() {  
print(this.\_parent.holder\_mc, “bframe”);  
};

The TestPrint.swf loads OK, but I am unable to print the contents of TestPrint.swf. I suspect that it is an addressing problem and I am not very familiar with relative addressing.

I would very much appreciate some help.

Thank you in advance.  
Philippa
