# Laoding external images into movie clips in different FRAMES

**URL:** https://forum.kirupa.com/t/laoding-external-images-into-movie-clips-in-different-frames/267720
**Category:** flash
**Created:** [August 5, 2008, 3:29am UTC](https://forum.kirupa.com/t/laoding-external-images-into-movie-clips-in-different-frames/267720 "2008-08-05T03:29:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![graylensman](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@graylensman](https://forum.kirupa.com/u/graylensman)
#### Post date: [August 5, 2008, 3:29am UTC](https://forum.kirupa.com/t/laoding-external-images-into-movie-clips-in-different-frames/267720/1 "2008-08-05T03:29:43Z")

</div>

I generally don’t mess with the timeline, but I need to for this project. In a nutshell: user can customize a product reference sheet with her choice of crossection, footprint, etc. All those choices exist as external swfs. In order to be legible, the reference sheet must be two pages.

I know how to print multiple frames with Flash. But what I cannot yet achieve is loading external swfs into movieclips on different frames, and then print that. Here’s my code from a test fla:

```auto

//add1, add2 are buttons on stage.
//printArea is a movie clip on stage. holder1 and holder2 are movie clip instances within printArea movie clip.
//
//these two event handlers go to a frame in printArea and load in the images. They work fine.
add1.onRelease=function(){
	printArea.gotoAndStop(1);
	printArea.holder1.loadMovie("Salakk.JPG");
}

add2.onRelease=function(){
	printArea.gotoAndStop(2);
	printArea.holder2.loadMovie("johnStewart_cn.jpg");
}
//
//this is the function that sends the swf to the printer.
printBtn.onRelease=function(){
	glPrint=new PrintJob();
	glPrint.start();
	glPrint.addPage(printArea, null, null, 1);
	glPrint.addPage(printArea, null, null, 2);
}

```

Now, this code will print both frames as separate pages, but the loaded image in printArea.holder2 does not print! Anybody have any ideas? thanks in advance!
