Skip to main content
Inspiring
August 1, 2007
Question

Adding a Print button to a Flash movie

  • August 1, 2007
  • 1 reply
  • 262 views
Hi. I've created a Flash movie and now want to add a simple print button to it - one that will just bring up the users default print dialog box.

I've created a new layer, highlighted the first frame and dragged a print button in from the library.

When I press F9 to bring up the Actions pane, selected the Print section all that comes up is print(). Can somebody tell me what other code I need to add? I'm pretty new to Flash but getting there, but the ActionScript is baffling me - I'm a designer, not a developer!

Many thanks.
This topic has been closed for replies.

1 reply

Inspiring
August 1, 2007
If Flash 8, try looking into the printAsBitmap function. It might be what you are looking for.

For AS 3.0, try the PrintJob class.