Skip navigation
refuse2007
Currently Being Moderated

Export to server as JPEG images

Jun 14, 2012 11:43 AM

Tags: #air #jpeg #as3 #export

Hi,

does anyone knows how using Flash Builder, to get a "screenshot" of pages.

something like get bitmapData or something of it.

i just want make screenshots of every page and send them to my remote server.

i cant found a way how to get a bitmap data of page.

 

anyone has ideas?

 

thanks

 
Replies
  • Currently Being Moderated
    Jun 14, 2012 11:46 AM   in reply to refuse2007

    You want a screenshot (including non-printing items) or a jpeg of the page content?

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 12:24 PM   in reply to refuse2007

    To export just single pages instead of spreads set exportingSpread in jpegExportPreferences to false.

     

    app.jpegExportPreferences.exportSpread = false;
    

     

    Hope that helps.

     

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 15, 2012 5:47 AM   in reply to refuse2007

    This should work (exports every page):

     

    var app:Application = InDesign.app;
    var document:Document = app.activeDocument;
     
    if(document != null)
    {
        document.exportFile(ExportFormat.jpg, new File("C:\\Temp\\Export.jpg"));
    }
     
    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points