This content has been marked as final. Show 5 replies
the loadMovie() method takes one parameter, not two. fix that and retest.
Thanks for the response. I tried it both ways. I didn't have the second parameter in there to begin with, and added them as levels, thinking that might be the problem. No dice, either way.
One oddity I've noticed as I've worked on this issue: After I click the final OK for printing, in the print dialog box, the swf loaded into the second frame disappears. I have zero clue as to what's going on.
after you correct your loadMovie() method, you should print frame 1 after loading is complete and before moving to frame2 where it's likely that holder1 doesn't exist.
Well, holder1 should still exist. It is a movie clip instance, not an empty movie clip created via code.
If I understand your answer, the user would have to choose elements for the first page, print, then move to the second page and choose and print.
To extrapolate from your answer, there's really no way to dynamically create the effect of a multi-page document?
that's exactly why it won't exist when you move to frame 2, unless it's on frame 2.
that's not a correct extrapolation. you can't load external files into target movieclips, remove those movieclips and expect the loaded external file to still be loaded. but you can load multiple external files into target movieclips and print multiple pages each with an external file's graphic.