# Print button

**URL:** https://forum.kirupa.com/t/print-button/17653
**Category:** flash
**Created:** [April 8, 2003, 12:02am UTC](https://forum.kirupa.com/t/print-button/17653 "2003-04-08T00:02:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ainriail](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Ainriail](https://forum.kirupa.com/u/Ainriail)
#### Post date: [April 8, 2003, 12:02am UTC](https://forum.kirupa.com/t/print-button/17653/1 "2003-04-08T00:02:01Z")

</div>

Hi, I want to make a button in flash mx so that I can print just a picture. I tried using the print function and as far as I can see I can’t specify a path. I also tried trough getURL and printing from there but is there an easier way so that I could just click on the print button from flash and have it print out a picture from my folder without going through another program? Thanks for any help.  
Marc:hair:

---

<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: [April 8, 2003, 8:50am UTC](https://forum.kirupa.com/t/print-button/17653/2 "2003-04-08T08:50:55Z")

</div>

Not from your folder, what you want to print has to be in the fla/swf.

In your \_root timeline, put !#p to disallow printing for the entire main timeline in 1st frame label. stop() action on this frame.  
2nd frame, put a grapic the size you want your printout to be, label this frame #b , stands for bounding box, size of this will dictate size of printout…

Put your picture into an independent, invisible clip.  
Then, select the keyframe, in the label (property inspector), put #p the allow printing. Name this clip instance (image\_mc)…

Put a button in \_root, action:  
on(release){  
if($version!=""){ //checks if the player version has the print feature  
print(“image\_mc”, “bframe”); //2 other possibilities: bmovie & bmax, read the help on printing…  
}  
}

---

<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: [April 8, 2003, 7:00pm UTC](https://forum.kirupa.com/t/print-button/17653/3 "2003-04-08T19:00:19Z")

</div>

Thank you very much! I will try this out. You have saved me a lot of time.=)  
Marc:hair:
