My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 7: saving image from screen
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by Knowledgebase.uk, Sep 19, 2007
Finally got this to work, but how would you use this script to take a 
screen shot of the swf, say if i wanted to save a pdf of a drawing i made.
 
Comment 1 by thibault.imbert, Sep 19, 2007
Hi,

If you want to put into the PDF a drawing you did inside Flash, you can pass the
DisplayObject containing your drawing. Can be a shape, sprite or any other display
object.

Something like : 

myPDFEncoder.addImage (myDrawingHolder, null , true, ImageFormat.JPG, 100, 0, 0, 0, 0);

let me know ;)
Comment 2 by Knowledgebase.uk, Sep 21, 2007
what i have is a interactive floorplan and when you have finished the plan the user 
can save a copy via PDF TO THE HARD DRIVE
Comment 3 by shiftedPixels, Sep 25, 2007
You need to send the PDF to the server first, then download it through Flex/Flash
after doing so. You cannot save directly to the hard drive through the Flash Player
plugin (never have, and never will probably). Of course, using AIR will solve that
problem because it allows for file IO on the users' drive.
Comment 4 by kaashif.ahmed, Jan 18, 2009
I am having a similar problem in which I am trying to save a report as PDF . With
flash player 10 , I can directly save into the fileSystem. But I am getting the
InvalidBtmapData.This is a combination of UI components for which I am trying to
print. Please help
Sign in to add a comment

Hosted by Google Code