all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

How to take a Snapshot - Screenshot - Capture


How to take a Snapshot - Screenshot - Capture Giuliano MX
6/17/2005 7:54:33 PM
flash actionscript: Hi eveyone,

I work in the music auditorium @ the college and I would like to build a tool
in flash that allows the following things:

1.- Be able to move certain instruments to a particular place in an empty
auditorium template on the screeen.
2.- Have a button that takes a screenshot/snapshot/screen capture of what I
have dinamically put in place over the auditorium template and e-mail it to a
particular e-mail address that will never change.
3.- Have another buttom that takes that image and be able to print it in local
printer.

Is there a such of an actionscript that could allow me to take a
snapshot/screenshot from a dynamic created flash animation?

I don't want to use PrtSc key from the keyboard, it has to be automatically
generated when user push a button.

Please advise on how to accomplish this task.

Thanks in advance.

Re: How to take a Snapshot - Screenshot - Capture .:}x-=V!P=-x{:.
6/17/2005 8:03:07 PM
The basic syntax for the print() function, which you can associate with a
button or other trigger in your document to activate printing, is shown as
follows:


print (target, ?Bounding box?);


The target parameter specifies the location of the frames that print, and the
bounding box parameter specifies the print area.
Re: How to take a Snapshot - Screenshot - Capture MyFlashMXIN
6/17/2005 8:07:46 PM
This is not possible with Flash unless you look into using a 3rd party plugin...

Flashjester has something like this if I remember correctly...

A side note, you can save the variables to a database and allow a user to
login and access the database to display they saved movieClip locations... :-)

example: http://www.flash-db.com/Ex1/index.php
Re: How to take a Snapshot - Screenshot - Capture Giuliano MX
6/17/2005 10:36:06 PM
Thanks MyFlashMXIN,

It is a brilliant idea, I never thought about it, but it seems that it will be
more code involved to accomplish this task.

I will try first .:}x-=V!P=-x{:. suggestion to see if I can resolve this
issue with it.

Thanks you guys.
AddThis Social Bookmark Button