PDF export to selective Path

Hi Everybody,
I tried this below code to export my PDF, in a specific location defined in script.
But, I could only receive the error"cant find the folder location"~C:\\Documents and Settings\Wande\Desktop\Wander_2.pdf".
when i tried using the same script in MAC, it works, but in Windows, it is not.
myFolder = "~C:\\Documents and Settings\Wande\Desktop\Wander_2\";
  var myDoc = app.activeDocument;
//var myPath = myDoc.filePath;
// I want to save the PDF in my specific location (myFolder) and not inside the document path (myDoc.filePath).
var myDocname = myDoc.name.split(".indd");
app.activeDocument.exportFile(ExportFormat.PDF_TYPE, File(new File(myFolder+"\\" + myDocname.join(".pdf"))));
Please help on this forum.

Hi wander,
try the below modifed js code.
//If you want to choose the folder location and save the file. Use the below line.
var myFolder = Folder.selectDialog();
//You want  default location use the below line.
var myFolder = "~\Desktop";
var myDoc = app.activeDocument;
var myDocname = myDoc.name.split(".indd");
myDoc.exportFile(ExportFormat.PDF_TYPE, File(new File(myFolder+"\\" + myDocname.join(".pdf"))));
thx,
csm_phil

Similar Messages

  • Exporting photoshop selection/path as CSV

    Hi
    Is it possible to export a selection or path as a list of coordinates? I know you can export to Illustrator but that doesn't help me in this case.
    Thanks
    Andy

    Certainly with a script, but that's just the same dance like saying "you can do it in Illustrator" when you don't seem to have it. if not some very kind person can throw it together in 5 minutes, you can wait forever, if you get my meaning, so looking into that AI thing would be smart.
    Mylenium

  • Windows vista ultimate 64 bit PDF export error

    Hi there, I'm using diadem 11.0 and  i have a big problem with my new os.
    When i try to export a report in pdf i get a print error in the status of the "diadem pdf export" printer.
    Any idea or solution for fix this problem ?
    Solved!
    Go to Solution.

    Thanks for the support Brad, i have tried to download and install diadem 11.1 but  it didn't solve the problem.
    After that i've tried to search in the amyuni forum for a solution and i found out this (it solved my problem)
    Windows Vista:
    Make sure that you are logged in as Windows administrator.
    Click the Windows button and click Printers.
    Right-click the Diadem pdf Export and select Properties
    Click the Ports tab, then click the Add Port button.
    Note: If the Ports tab is greyed out, right-click the Diadem Pdf Export icon and select Run as admin.
    Select Local Port and click the New Port button.
    Enter PDF1 for the new port name and click OK. Close the Printer Ports window.
    Put a checkmark in the box next to the PDF1 port if it is not already checked.
    Click on the Advanced tab.
    Select the Spool print documents radio button to make the options below it clickable.
    Clear (uncheck) the box labeled Enable advanced printing features by clicking it.
    Select the Print directly to printer radio button to make the options below not clickable.
    Click the Apply button, then click OK.
    Important: In order for the changes to take effect, you must restart your computer.
    Reboot your computer and then try to print, email, or create a pdf from Diadem.
    Regards,
    Ierman Gert

  • PDF Export Hangs

    I'm exporting a report using PDF export in Diadem 11.2.0f4178 and it just hangs with no error message. I'm running windows 7 64 bit. I also have Diadem 11.3.0f4563 installed and it does the same thing. 
    I can print to adobe pdf, but when i generates the report its doesnt not copy the page names (which on 100 page report is a bit of a problem). A solution to either would resolve this.
    Anyone have the same problem or know of a fix?

    I found a solution from another thread that worked for me:
    http://forums.ni.com/t5/DIAdem/Windows-vista-ultimate-64-bit-PDF-export-error/m-p/978241/highlight/t...
    Windows Vista:
    Make sure that you are logged in as Windows administrator.
    Click the Windows button and click Printers.
    Right-click the Diadem pdf Export and select Properties
    Click the Ports tab, then click the Add Port button.
    Note: If the Ports tab is greyed out, right-click the Diadem Pdf Export icon and select Run as admin.
    Select Local Port and click the New Port button.
    Enter PDF1 for the new port name and click OK. Close the Printer Ports window.
    Put a checkmark in the box next to the PDF1 port if it is not already checked.
    Click on the Advanced tab.
    Select the Spool print documents radio button to make the options below it clickable.
    Clear (uncheck) the box labeled Enable advanced printing features by clicking it.
    Select the Print directly to printer radio button to make the options below not clickable.
    Click the Apply button, then click OK.
    Important: In order for the changes to take effect, you must restart your computer.
    Reboot your computer and then try to print, email, or create a pdf from Diadem.
    Regards,
    Ierman Gert

  • Adobe PDF Export Converting 100% Black Body Copy to 4-color Black

    Hi,
    I've been trying to figure out the best way to make use of an RGB workflow for our news publication and magazines. In the process, I've noticed that in my PDF export, by selecting the option under "Profile Inclusion Policy: Include Destination Profile" it causes all of my 100% black text to become 4-color. Why is it doing that?

    But the text is not RGB, it is 100% black in CMYK.

  • [SOLVED] How to export a selection in a PDF file as PDF ?

    I tried a lot of PDF readers, but none of them supports exporting a selection as PDF. Okular have a similar function, but it can only save selections as JPEG or PNG. Alternatively, I can take a screenshot of a selection in one PDF reader, but still JPEG. I want to use this function to crop a selection such as formulas, vector graphics inside a PDF file. I know Preview.app in OS X works great for me. I am wondering if there is any alternatives for Linux. Thank you so much.
    Last edited by mssun (2015-03-20 08:34:20)

    Maybe take a look at: https://aur.archlinux.org/packages/gpdfx/ or maybe one of PDF's editors like MasterPDFEditor (free for non-commercial use), pdfeditor etc. Or one of converters like pdf2html and after conversion plug html (or the other format) into LaTeX document. Or... make OCR on PDF and then plug document saved in even plain txt format. Also, there is this utility: http://www.ctan.org/tex-archive/macros/ … b/pdfpages (and in AUR: https://aur.archlinux.org/packages/latex-pdfpages/) - maybe it will be helpful for you (I don't use LaTeX).

  • How to select color space for PDF export in Aperture 3

    If you're exporting a book layout as a PDF for printing by a third-party album company, you may need to specify sRGB as the color space for images in the PDF. That's OK if your book is composed of JPEGs that are already in the sRGB color space. But, if your images are RAW, Aperture will export them into PDF using the Adobe RGB color space by default. Sending aRGB images to an sRGB printer will result in flat, unsaturated colors, as I learned the hard way. Apple tech support was unable to tell me how to handle this, but I stumbled on the answer myself. Select the book in the Library pane. Select File > Print Book. In the resulting printer dialogue window, pull down the Color Profile menu (default: No Profile Selected) and select sRGB or whatever target color space you desire. Then, click the PDF button and select Save as PDF. Presto! Your PDF images will now be in the appropriate color space.

    Hi again, here some updates.
    the issue is still there.
    From Aperture, I tried to export to PDF the single images, and they look good (no posterization).
    Furthermore, I created a photo book from iPhoto with the same pictures, and exported it to PDF. It also looks fine.
    Also opening/exporting to PDF from photoshop does not show any problem.
    The problem occurs only if I try to print the book from Aperture (option "print book" -> "save as PDF"), or if I make a book preview before placing the order (I suppose it's the same action).
    Is anybody aware of what exactly Aperture does in these particular cases?
    Please consider that:
    1. my monitor (iMac 24") is hardware calibrated
    2. the source pictures are in RAW (so no color profile on them) and (just a couple) in TIFF (16bit, Adobe RGB). I also tried reimporting in the album jpg converted versions, with no better results.
    3. OS and Aperture are updated to the latest versions.
    This problem is blocking me from placing the order...
    Someone could give some help here?
    thanks in advance
    marco

  • Generate a PDF export and getting the file or the bytestream to modify it

    Hi everybody
    I have a web dynpro application and want to get the bytestream or the PDF file itself.
    Is there a function (RFC, J2EE-Method, ABAP methode/class) where I can say
    "Hey function, generate a PDF export of a BI report and save the PDF file <br>somewhere in the KM or return the bytestream of the PDF"
    I must be able to define following parameters
    -BI template name
    -values for the selection mask (the same as the BEx BI-Commands to prefill a field in the selection mask)
    -KM path + filename (if the function saves the file in the KM)
    What I already tried:
    Broadcast to KM
    I can start the broadcast automatically using the report RSRD_BROADCAST_STARTER. But the problem is that I can't generate a broadcast setting and so I'm not able to define the filename and selectionmask data dynamically.
    Package RSRD
    When you enter the transaction SE80 and look for the package "RSRD" there are a lot of interesting classes and methods. But I couldn't figure out how to call them to generate a PDF export of a BI report.
    FM RSADOB_PDFREPORT_GENERATE
    This function module have all the parameters I wish. The problem is that it does not work anymore. It's just an internal test for the SAP guys themselves.
    So ...
    Have anybody an idea how to solve this?
    How to generate a PDF export of a BI report and fill the selection mask and get the PDF (as bytecode or file in the KM) ?
    Thanks lot
    Klaudio

    hi,
    Like you said.. steps are simple and clearly mentioned in guide.
    1. create a variable of type string
    2. after configuring the file adapter , go to corresponding receive activity , go to properties tab
    3. search for a property with name as jca.file.FileName . This basically keeps track of file name
    4. for this property, give the value as name of variable created in step 1 above
    5. Use this variable anywhere in assign / transform
    HTH,
    Ketan

  • PDF exported from InDesign missing background when opened in Illustrator

    Hello, I am having a bit of a frustrating problem.
    I'm working on graphics for a large project, and I have to get some of my files from InDesign into Illustrator (they are both CS5) for our printer.
    I would have normally designed them in Illustrator but ALL my graphics are in InDesign and we just found out once we started on production that he needs AI and needs our trim path set up for our irregular shapes. 
    For MOST of the documents, its been pretty easy (exporting to PDF > opening in illustrator and making a cut path > saving as AI) however I have this one file that is making me lose my mind.
    When I export it as PDF, it opens perfectly and looks normal in acrobat, and I also check it out in preview as well. The background shows up and everything. However when I open the PDF in illustrator it completely loses the background. I noticed it doing this before for a couple graphics, but I assumed that was because they had gradients drop shadows and transparencies and all that. This file has nothing weird except for a gradient grey background.
    Help? I'm including some screenshots of whats happening in the hopes that you guys can help solve it.
    So here we have me saving it, then opening it in Acrobat to check stuff out.
    Now here is what happens when I open it in Illustrator:

    Hi, Brie. I have been running into this issue for quite some time now. I also received the same response as you did. "Stop opening exported PDFs in Illustrator." This is an unsatisfactory answer for someone that works in the large format print industry that needs to preflight directly in the Illustrator program. I've done a ton of research and have been racking my brain for the last 2 years and have finally found sufficient workarounds for this issue. The downfall with these workarounds: all spot colors located in the gradients will convert to CMYK mixes. I'm still researching to see if there is a way to keep spot colors intact in these areas.
    A little back story: InDesign is converting the gradients into something called NChannel. It enables more accurate handling of color blending by including additional dot gain and color mixing info. Both InDesign and Acrobat have the ability to display these elements whereas Illustrator, from what I’m finding, does not. Which is why we’re seeing gradient elements drop out when opened in Illustrator.
    Workaround for CMYK Gradients
    Open PDF exported from INDD in Acrobat
    Go to Tools > Print Production > Convert Colors
    Object Type: Smooth Shade (this tells Acrobat to hone in on Gradients only)
    Color Type: DeviceCMYK
    Check Embed next to Conversion Profile (should be SWOP)
    Expand Document Colors on the right and Select DeviceCMYK in Color Spaces then click ok
    Save the PDF
    Workaround for 1 Spot Color in Gradients (Converts Spot Color located in Gradient to CMYK – all other Spots stay intact)
    Open PDF exported from INDD in Acrobat
    Go to Tools > Print Production > Convert Colors
    Object Type: Smooth Shade (this tells Acrobat to hone in on Gradients only)
    Color Type: Spot Color
    Check Embed next to Conversion Profile (should be SWOP)
    Expand Document Colors on the right and Select the Spot that is located in the Gradient in Color Spaces then click ok
    Save the PDF
    Workaround for 2 Spot Colors in Gradients (Converts Spot Colors located in Gradient to CMYK – all other Spots stay intact)
    Open PDF exported from INDD in Acrobat
    Go to Tools > Print Production > Convert Colors
    Object Type: Smooth Shade (this tells Acrobat to hone in on Gradients only)
    Color Type: Spot Color
    Check Embed next to Conversion Profile (should be SWOP)
    Expand Document Colors on the right and Select the DeviceN spot color that is located in the Gradient in Color Spaces then click ok
    Save the PDF
    Please try this and let me know if you have any questions! I'm always looking for new problems to solve! Good luck!
    - Jenny

  • Remove ALL Images from PDF Export?

    I'd like to remove ALL images from a PDF export (Indesign CS6), with the intention of having the smallest file size possible for review. All the images are Photoshop PSDs.
    I have created a PDF Preset (PDF 1.7) that omits EPS, PDF and Bitmap.
    That covers any PSDs that contain opaque backgrounds, i.e. are considered to be non-transparent. However, any PSDs that do NOT contain such backgrounds still appear in the exported PDF. I assume they are NOT considered to be Bitmaps?!?
    I've gone for maximal compression of images (in the Preset) also just to see how small I can get the file, but it's still over a meg, and I'd really like even smaller. I live in a rural part of England where net access is painfully slow, and even a few meg of data takes far too long to upload, not to mention the constant drop-outs. Consider further that my document is likely to grow by several orders of magnitude and hopefully you can see why I'd like to sort this issue out as soon as possible.
    I've not done any scripting but assume it would be trivial to hide images with a script. However, I'm not sure how such a script might know how to make visible only the images that were previously hidden by the script. Obviously I would not wish to unhide images that must stay hidden. Maybe some form of image/object tagging, if that's even possible in this product, i.e. tag them "temp hide" on first pass of the script, and so forth.
    Any suggestions much appreciated.
    Regards,
    James

    @James – to mark the container frames of the nonprinting images by a fill color, you could add the following lines of code in the for loop:
    allGraphicsArray[n].nonprinting = true;
    //The parent of the graphic is the container that holds it.
    //We could use it to fill it with a tint of e.g. 20% of black:
    allGraphicsArray[n].parent.fillColor = "Black";
    allGraphicsArray[n].parent.fillTint = 20;
    But this approach will add a new problem for images, that only use a portion of the holding graphic frame. Or are only partly visible due to a clipping path or a clipping mask or totally transparent areas due to transparent pixels.
    Already colored backgrounds will be recolored…
    @Sandee – I see the advantage of the PostScript to Distiller way in this situation, but there are two disadvantages:
    1. Live transparency will be flattened (could be no issue in this use case, but you never know).
    2. The gray area with the big X will be applied also to parts of the images where no pixels are present (transparent pixels in PhotoShop or TIFF files).
    To work around all these issues we need a more complex script that is building a  path object around the transparent parts of an image or using an applied clipping path for that purpose and fill that with a gray tint (and maybe with an X).
    Here some screen shots to illustrate the problems (with or without using PostScript/Distiller):
    1. Original set up:
    One placed PhotoShop file with transparency stacked upon the text frame.
    The image inside its holding frame is selected.
    The visibility of one of its layers depicting a second chair on the left side is switched off.
    2. The same setup in a different view:
    3. After running the script with the two additional lines of code:
    Using the PostScript method would do nearly the same plus adding a cross using the  area of the selected image.
    Uwe

  • Script that worked in CS does not work in CS4 - multiple open page, print , pdf export and close

    I had a script that worked great for me in Indesign CS. But now does not work in CS4. Anyone knows what needs to be done to make it work again ?
    When I drop folder with indesign files on top of this script:
    1. opens first page
    2. turns specific layer on
    3. prints using preset
    4. exports using preset
    5. close without saving
    6. next page
    Anyone who can give me solution or idea how this should work is greatly appreciated.
    on open sourceFolders
    repeat with sourceFolder in sourceFolders
    tell application "Finder"
    try
    -- If you would like to include subfolders, you say - every file of entire contents of folder…
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias list
    on error -- work around bug if there is only one file
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias as list
    end try
    end tell
    if idFiles is not {} then
    tell application "Adobe InDesign CS4"
    set user interaction level to never interact
    repeat with i from 1 to count of idFiles
    open item i of idFiles
    tell document 1
    try
    set visible of layer "ImagesTag_Layer" to true
    end try
    set myPreset to "letter size" -- name of print style to use
    with timeout of 700 seconds
    print using myPreset without print dialog
    end timeout
    set myPreset1 to "pdf preset name" -- name of pdf export style to use
    set myName to the name -- name includes .indd should remove at some point          
    with timeout of 700 seconds
    export format PDF type to "users:temp:Desktop:pdf:" & myName & ".pdf" using myPreset1 without showing options -- set path here format ComputerName:Folder1:Folder2:......:FileName.pdf
    end timeout
    close without saving
    end tell
    end repeat
    set user interaction level to interact with all
    end tell
    end if
    return 10 -- try again in 10 seconds
    end repeat
    end open

    (Disclaimer: me not an AS guy!)
    First thing I noticed is the interaction level is set off. If you comment out this line
    set user interaction level to never interact
    you might be able to pinpoint the exact error -- ID will display a standard "failed" dialog, hopefully showing the line that it fails on.
    A quick question: the script assumes two presets in your InDesign: one for print ("letter size") and one for PDFs ("pdf preset name"):
    set myPreset to "letter size" -- name of print style to use
    set myPreset1 to "pdf preset name" -- name of pdf export style to use 
    Do these actually exist in your CS4, with the same (non)capitalization and spaces?

  • URGENT! Alive PDF - export PDF file ("my computer" prompt to save the file, not create in browser)

    Hi - I'm having issues with my code and I'm not an ActionScript coder by any means. I'm using Flash Builder 4. I've been able to figure out how to export to PNG and to XLS but PDF is really killing me.
    Below is my code and it's not causing errors when I do the release build but the my button doesn't work to export to PDF.  I'm trying to create a PNG using the PNGEncoder and then push that out to PDF (when the PDF button is selected). I used some sample code and I've commented out parts that I didn't want to use or didn't seem to apply to my application. Unfortunately, I have a deadline of May 3rd on this and there is no one else in the office here to help me... hope someone out there can.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="650" width="850">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import flash.events.Event;
                import mx.events.DropdownEvent;
                import mx.events.*;
                import mx.graphics.codec.PNGEncoder;
                import org.alivepdf.display.*;
                import org.alivepdf.images.ColorSpace;
                import org.alivepdf.fonts.*;
                import org.alivepdf.layout.*;
                import org.alivepdf.pdf.*;
                import org.alivepdf.saving.*;
                import mx.controls.Alert;
                //PDF Export information
                protected var pdf:PDF;
                protected function savePDF(event:MouseEvent): void {
                    pdf = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
                    pdf.setDisplayMode(Display.FULL_WIDTH);
                    pdf.addPage();
                    var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
                    bd.draw(cChart);
                    var png:PNGEncoder = new PNGEncoder();
                    var ba:ByteArray = png.encode(bd);
                    //try {
                    pdf.addImageStream(ba, ColorSpace.DEVICE_RGB, new Resize ( Mode.FIT_TO_PAGE, Position.CENTERED ), 10, 10, 800, 800, 0, 1, "Normal", null);
                    //} catch (e:Error) {
                    //    trace("Error occurred!");
                    //    Alert.show(e,"");
                    //myPDF.addImageStream(new jpgBytes() as ByteArray, ColorSpace.DEVICE_RGB, null, 0, 0, 500, 500, 0, 1, "Normal", null);
                    //imageBytes:ByteArray, colorSpace:String, resizeMode:Resize=null, x:Number=0, y:Number=0, width:Number=0, height:Number=0, rotation:Number=0, alpha:Number=1, blendMode:String="Normal", link:ILink=null):
                    //pdf.setFont(FontFamily.ARIAL, Style.NORMAL, 12);
                    //pdf.addText("Grafico de Rata de Fallas", 100, 40); // title
                    //pdf.addImage(imprimirRata, 50, 50, 200, 150); // captured canvas with charts
                    //      pdf.addImage(leyendaImprimir, 50, 120, 20,20); // captured leyend of charts
                    //pdf.addText("RTP Software. Modulo de Score Card.", 10, 200); // header of the document
                    //pdf.addText("Creado: " + new Date(), 180, 200); // Add the created date as a leyend or footer on document
                    var fr:FileReference = new FileReference();
                    fr.save(pdf.save(Method.LOCAL), "nep_piefy11.pdf");
                    /*var fs:FileStream = new FileStream();
                    var file: File = File.desktopDirectory.resolvePath("nep_piefy11.pdf"); // Name of the file
                    fs.open(file, FileMode.WRITE);
                    fs.writeBytes(pdf.save(Method.LOCAL));
                    fs.close();*/
                    //Alert.show("El reporte ha sido generado", "Informacion"); // Confirmation message as a pop-up
                //Pie Chart Creation information
                [Bindable]
                public var ds:ArrayCollection = sel;
                private function changeEvt(event:Event):void {
                    if(filterCombo.selectedItem == 'Select NEP') {ds = sel;}
                    if(filterCombo.selectedItem == 'Albemarle-Pamlico Estuary Program') {ds = nep1;}
                    if(filterCombo.selectedItem == 'Barataria-Terrebonne Estuary Program') {ds = nep2;}
                    if(filterCombo.selectedItem == 'Barnegat Bay Estuary Program') {ds = nep3;}
                    if(filterCombo.selectedItem == 'Buzzards Bay National Estuary Program') {ds = nep4;}
                    if(filterCombo.selectedItem == 'Casco Bay Estuary Partnership') {ds = nep5;}
                    if(filterCombo.selectedItem == 'Charlotte Harbor Estuary Program') {ds = nep6;}
                    if(filterCombo.selectedItem == 'Coastal Bend Bays and Estuaries Program') {ds = nep7;}
                    if(filterCombo.selectedItem == 'Delaware Estuary Program') {ds = nep8;}
                    if(filterCombo.selectedItem == 'Delaware Inland Bays Estuary Program') {ds = nep9;}
                    if(filterCombo.selectedItem == 'Galveston Bay Estuary Program') {ds = nep10;}
                    if(filterCombo.selectedItem == 'Indian River Lagoon NEP') {ds = nep11;}
                    if(filterCombo.selectedItem == 'Long Island Sound Study') {ds = nep12;}
                    if(filterCombo.selectedItem == 'Lower Columbia River Estuary') {ds = nep13;}
                    if(filterCombo.selectedItem == 'Maryland Coastal Bays Program') {ds = nep14;}
                    if(filterCombo.selectedItem == 'Massachusetts Bays NEP') {ds = nep15;}
                    if(filterCombo.selectedItem == 'Mobile Bay Estuary Program') {ds = nep16;}
                    if(filterCombo.selectedItem == 'Morro Bay Estuary Program') {ds = nep17;}
                    if(filterCombo.selectedItem == 'Narragansett Bay Estuary Program') {ds = nep18;}
                    if(filterCombo.selectedItem == 'New York-New Jersey Harbor Estuary Program') {ds = nep19;}
                    if(filterCombo.selectedItem == 'Peconic Estuary Program') {ds = nep20;}
                    if(filterCombo.selectedItem == 'Piscataqua Region Estuaries Partnership') {ds = nep21;}
                    if(filterCombo.selectedItem == 'Puget Sound Partnership') {ds = nep22;}
                    if(filterCombo.selectedItem == 'San Francisco Estuary Project') {ds = nep23;}
                    if(filterCombo.selectedItem == 'San Juan Bay NEP') {ds = nep24;}
                    if(filterCombo.selectedItem == 'Santa Monica Bay Restoration Project') {ds = nep25;}
                    if(filterCombo.selectedItem == 'Sarasota Bay Estuary Program') {ds = nep26;}
                    if(filterCombo.selectedItem == 'Tampa Bay Estuary Program') {ds = nep27;}
                    if(filterCombo.selectedItem == 'Tillamook Estuaries Partnership') {ds = nep28;}
                [Bindable]
                private var sel:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0.5},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep1:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 778.44},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0.45},
                    { habtype: "Estuarine Shoreline", Acres: 1276.30},
                    { habtype: "Instream", Acres: 1.0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0.75},
                    { habtype: "Upland", Acres: 779.74},
                    { habtype: "Wetland", Acres: 3268.31} ]);
                [Bindable]
                private var nep2:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 7.25},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 1185} ]);
                [Bindable]
                private var nep3:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 35.21},
                    { habtype: "Upland", Acres: 852.57},
                    { habtype: "Wetland", Acres: 197.82} ]);
                [Bindable]
                private var nep4:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 751.82},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 321.82},
                    { habtype: "Wetland", Acres: 157.35} ]);
                [Bindable]
                private var nep5:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 217},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 324.5},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep6:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 1268},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 50},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 61},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 809},
                    { habtype: "Wetland", Acres: 1690} ]);
                [Bindable]
                private var nep7:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 726} ]);
                [Bindable]
                private var nep8:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0.28},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 82},
                    { habtype: "Estuarine Shoreline", Acres: 0.14},
                    { habtype: "Instream", Acres: 2.3},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 643},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 501.9},
                    { habtype: "Upland", Acres: 148.71},
                    { habtype: "Wetland", Acres: 2586.02} ]);
                [Bindable]
                private var nep9:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 26.21},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 37},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 27},
                    { habtype: "Wetland", Acres: 646} ]);
                [Bindable]
                private var nep10:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 2868},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 407.06} ]);
                [Bindable]
                private var nep11:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 3},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 43},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 12910.5},
                    { habtype: "Wetland", Acres: 5026} ]);
                [Bindable]
                private var nep12:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 67},
                    { habtype: "Beach/Dune", Acres: 21.95},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 120.72},
                    { habtype: "Wetland", Acres: 151.08} ]);
                [Bindable]
                private var nep13:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 12},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 194},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 200} ]);
                [Bindable]
                private var nep14:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 58},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 153},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 494.3},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep15:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1313},
                    { habtype: "Estuarine Shoreline", Acres: 8},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 543.8} ]);
                [Bindable]
                private var nep16:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 40},
                    { habtype: "Estuarine Shoreline", Acres: 6.5},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 195},
                    { habtype: "Wetland", Acres: 85} ]);
                [Bindable]
                private var nep17:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 1109.9},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1.14},
                    { habtype: "Estuarine Shoreline", Acres: 0.28},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0.71},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep18:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 1099},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep19:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 101.3} ]);
                [Bindable]
                private var nep20:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 98.72},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 17.99},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 106.13},
                    { habtype: "Wetland", Acres: 12.97} ]);
                [Bindable]
                private var nep21:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 9},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 3},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 2},
                    { habtype: "Upland", Acres: 1451},
                    { habtype: "Wetland", Acres: 27} ]);
                [Bindable]
                private var nep22:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 26},
                    { habtype: "Beach/Dune", Acres: 1.65},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 240.39},
                    { habtype: "Estuarine Shoreline", Acres: 314.97},
                    { habtype: "Instream", Acres: 505.87},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 1450.47},
                    { habtype: "Upland", Acres: 1176.7},
                    { habtype: "Wetland", Acres: 850.58} ]);
                [Bindable]
                private var nep23:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 43.05},
                    { habtype: "Upland", Acres: 4519},
                    { habtype: "Wetland", Acres: 3271} ]);
                [Bindable]
                private var nep24:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 1},
                    { habtype: "Coral Reef", Acres: 0.13},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 1},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 10} ]);
                [Bindable]
                private var nep25:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1.6},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 7},
                    { habtype: "Riparian", Acres: 100},
                    { habtype: "Upland", Acres: 6.2},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep26:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5.5},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 4.5},
                    { habtype: "Estuarine Shoreline", Acres: 15},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 82},
                    { habtype: "Wetland", Acres: 40} ]);
                [Bindable]
                private var nep27:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5.1},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 23},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 4.8},
                    { habtype: "Mangrove", Acres: 3.5},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 1221},
                    { habtype: "Wetland", Acres: 17.4}]);   
                [Bindable]
                private var nep28:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 67},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 2},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 31.33},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 74.24}]);               
                private function displayAcres(data:Object, field:String, index:Number, percentValue:Number):String {
                    var temp:String= (" " + percentValue).substr(0,6);
                    return data.habtype + ": " + '\n ' + data.Acres + " Acres" + '\n ' + temp + "%";
                //Export to PNG information
                private function saveImageAs(event:MouseEvent):void
                    var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
                    bd.draw(cChart);
                    var png:PNGEncoder = new PNGEncoder();
                    var ba:ByteArray = png.encode(bd);
                    var fr:FileReference = new FileReference();
                    fr.save(ba, "nepfy11-piechart.png");
            ]]>
        </mx:Script>
        <!--mx:SeriesInterpolate id="chartChange" duration="2000" /-->
        <mx:Panel id="cChart" title="2011 Habitat Efforts" width="825" height="600" chromeColor="#527EAC" layout="vertical" color="#FFFFFF" verticalGap="10" x="15" y="15">
            <mx:HBox width="400" height="20">
                <mx:ComboBox id="filterCombo" x="140" y="140" change="changeEvt(event)" color="#000000" >
                    <mx:String>Select NEP</mx:String>
                    <mx:String>Albemarle-Pamlico Estuary Program</mx:String>
                    <mx:String>Barataria-Terrebonne Estuary Program</mx:String>
                    <mx:String>Barnegat Bay Estuary Program</mx:String>
                    <mx:String>Buzzards Bay National Estuary Program</mx:String>
                    <mx:String>Casco Bay Estuary Partnership</mx:String>
                    <mx:String>Charlotte Harbor Estuary Program</mx:String>
                    <mx:String>Coastal Bend Bays and Estuaries Program</mx:String>
                    <mx:String>Delaware Estuary Program</mx:String>
                    <mx:String>Delaware Inland Bays Estuary Program</mx:String>
                    <mx:String>Galveston Bay Estuary Program</mx:String>
                    <mx:String>Indian River Lagoon NEP</mx:String>
                    <mx:String>Long Island Sound Study</mx:String>
                    <mx:String>Lower Columbia River Estuary</mx:String>
                    <mx:String>Maryland Coastal Bays Program</mx:String>
                    <mx:String>Massachusetts Bays NEP</mx:String>
                    <mx:String>Mobile Bay Estuary Program</mx:String>
                    <mx:String>Morro Bay Estuary Program</mx:String>
                    <mx:String>Narragansett Bay Estuary Program</mx:String>
                    <mx:String>New York-New Jersey Harbor Estuary Program</mx:String>
                    <mx:String>Peconic Estuary Program</mx:String>
                    <mx:String>Piscataqua Region Estuaries Partnership</mx:String>
                    <mx:String>Puget Sound Partnership</mx:String>
                    <mx:String>San Francisco Estuary Project</mx:String>
                    <mx:String>San Juan Bay NEP</mx:String>
                    <mx:String>Santa Monica Bay Restoration Project</mx:String>
                    <mx:String>Sarasota Bay Estuary Program</mx:String>
                    <mx:String>Tampa Bay Estuary Program</mx:String>
                    <mx:String>Tillamook Estuaries Partnership</mx:String>
                </mx:ComboBox>
            </mx:HBox>
            <mx:HBox horizontalGap="20" width="822" height="535">
                <mx:PieChart id="chart" showDataTips="true" dataProvider="{ds}" width="634"  height="534" paddingTop="10" fontSize="9" fontFamily="Arial" color="#000000" textAlign="left">
                    <mx:series>
                        <mx:PieSeries id="seriesId" explodeRadius="0.06" nameField="habtype" labelPosition="callout" color="#000000" insideLabelSizeLimit="8" field="Acres" labelFunction="displayAcres">
                        </mx:PieSeries>
                    </mx:series>
                </mx:PieChart>
                <mx:Legend dataProvider="{chart}" dropShadowVisible="true" width="150" color="#000000" height="350" chromeColor="#527EAC" borderColor="#527EAC" direction="vertical"/>          
            </mx:HBox>
        </mx:Panel>
        <mx:Button x="734" y="623" label="Export Pie Chart" id="btnSnap" click="saveImageAs(event)"/>
        <mx:Button x="444" y="623" label="PDF" click="savePDF(event)" />
    </mx:Application>
    Thank you in advance,
    Alison

    I figured it out!!!!! In case anyone else needs to know - here is the working code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="650" width="850">
        <mx:Script>
            <![CDATA[
                import flash.events.Event;
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                import mx.events.*;
                import mx.events.DropdownEvent;
                import mx.graphics.codec.PNGEncoder;
                import org.alivepdf.display.*;
                import org.alivepdf.fonts.*;
                import org.alivepdf.images.ColorSpace;
                import org.alivepdf.images.PDFImage;
                import org.alivepdf.layout.*;
                import org.alivepdf.pdf.*;
                import org.alivepdf.saving.*;
                //PDF Export information
                private var pdf:PDF;
                private function savePDF(event:MouseEvent): void {
                    pdf = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
                    pdf.setDisplayMode(Display.FULL_WIDTH);
                    pdf.addPage();
                    var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
                    bd.draw(cChart);
                    var bm:Bitmap=new Bitmap(bd);
                    //bm.x=825;
                    //bm.y=600;
                    //bm.width=825;
                    pdf.setMargins(0, 2, 0, 0);
                    pdf.addImage(bm, new Resize (Mode.RESIZE_PAGE, Position.CENTERED));
                    //pdf.setXY(10,95);
                    var bytes:ByteArray=pdf.save(Method.LOCAL);
                    var fr:FileReference=new FileReference();
                    fr.save(bytes,"nep_piefy11.pdf");
                //Pie Chart Creation information
                [Bindable]
                public var ds:ArrayCollection = sel;
                private function changeEvt(event:Event):void {
                    if(filterCombo.selectedItem == 'Select NEP') {ds = sel;}
                    if(filterCombo.selectedItem == 'Albemarle-Pamlico Estuary Program') {ds = nep1;}
                    if(filterCombo.selectedItem == 'Barataria-Terrebonne Estuary Program') {ds = nep2;}
                    if(filterCombo.selectedItem == 'Barnegat Bay Estuary Program') {ds = nep3;}
                    if(filterCombo.selectedItem == 'Buzzards Bay National Estuary Program') {ds = nep4;}
                    if(filterCombo.selectedItem == 'Casco Bay Estuary Partnership') {ds = nep5;}
                    if(filterCombo.selectedItem == 'Charlotte Harbor Estuary Program') {ds = nep6;}
                    if(filterCombo.selectedItem == 'Coastal Bend Bays and Estuaries Program') {ds = nep7;}
                    if(filterCombo.selectedItem == 'Delaware Estuary Program') {ds = nep8;}
                    if(filterCombo.selectedItem == 'Delaware Inland Bays Estuary Program') {ds = nep9;}
                    if(filterCombo.selectedItem == 'Galveston Bay Estuary Program') {ds = nep10;}
                    if(filterCombo.selectedItem == 'Indian River Lagoon NEP') {ds = nep11;}
                    if(filterCombo.selectedItem == 'Long Island Sound Study') {ds = nep12;}
                    if(filterCombo.selectedItem == 'Lower Columbia River Estuary') {ds = nep13;}
                    if(filterCombo.selectedItem == 'Maryland Coastal Bays Program') {ds = nep14;}
                    if(filterCombo.selectedItem == 'Massachusetts Bays NEP') {ds = nep15;}
                    if(filterCombo.selectedItem == 'Mobile Bay Estuary Program') {ds = nep16;}
                    if(filterCombo.selectedItem == 'Morro Bay Estuary Program') {ds = nep17;}
                    if(filterCombo.selectedItem == 'Narragansett Bay Estuary Program') {ds = nep18;}
                    if(filterCombo.selectedItem == 'New York-New Jersey Harbor Estuary Program') {ds = nep19;}
                    if(filterCombo.selectedItem == 'Peconic Estuary Program') {ds = nep20;}
                    if(filterCombo.selectedItem == 'Piscataqua Region Estuaries Partnership') {ds = nep21;}
                    if(filterCombo.selectedItem == 'Puget Sound Partnership') {ds = nep22;}
                    if(filterCombo.selectedItem == 'San Francisco Estuary Project') {ds = nep23;}
                    if(filterCombo.selectedItem == 'San Juan Bay NEP') {ds = nep24;}
                    if(filterCombo.selectedItem == 'Santa Monica Bay Restoration Project') {ds = nep25;}
                    if(filterCombo.selectedItem == 'Sarasota Bay Estuary Program') {ds = nep26;}
                    if(filterCombo.selectedItem == 'Tampa Bay Estuary Program') {ds = nep27;}
                    if(filterCombo.selectedItem == 'Tillamook Estuaries Partnership') {ds = nep28;}
                [Bindable]
                private var sel:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0.5},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep1:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 778.44},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0.45},
                    { habtype: "Estuarine Shoreline", Acres: 1276.30},
                    { habtype: "Instream", Acres: 1.0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0.75},
                    { habtype: "Upland", Acres: 779.74},
                    { habtype: "Wetland", Acres: 3268.31} ]);
                [Bindable]
                private var nep2:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 7.25},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 1185} ]);
                [Bindable]
                private var nep3:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 35.21},
                    { habtype: "Upland", Acres: 852.57},
                    { habtype: "Wetland", Acres: 197.82} ]);
                [Bindable]
                private var nep4:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 751.82},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 321.82},
                    { habtype: "Wetland", Acres: 157.35} ]);
                [Bindable]
                private var nep5:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 217},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 324.5},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep6:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 1268},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 50},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 61},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 809},
                    { habtype: "Wetland", Acres: 1690} ]);
                [Bindable]
                private var nep7:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 726} ]);
                [Bindable]
                private var nep8:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0.28},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 82},
                    { habtype: "Estuarine Shoreline", Acres: 0.14},
                    { habtype: "Instream", Acres: 2.3},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 643},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 501.9},
                    { habtype: "Upland", Acres: 148.71},
                    { habtype: "Wetland", Acres: 2586.02} ]);
                [Bindable]
                private var nep9:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 26.21},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 37},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 27},
                    { habtype: "Wetland", Acres: 646} ]);
                [Bindable]
                private var nep10:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 2868},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 407.06} ]);
                [Bindable]
                private var nep11:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 3},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 43},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 12910.5},
                    { habtype: "Wetland", Acres: 5026} ]);
                [Bindable]
                private var nep12:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 67},
                    { habtype: "Beach/Dune", Acres: 21.95},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 120.72},
                    { habtype: "Wetland", Acres: 151.08} ]);
                [Bindable]
                private var nep13:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 12},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 194},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 200} ]);
                [Bindable]
                private var nep14:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 58},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 153},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 494.3},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep15:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1313},
                    { habtype: "Estuarine Shoreline", Acres: 8},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 543.8} ]);
                [Bindable]
                private var nep16:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 40},
                    { habtype: "Estuarine Shoreline", Acres: 6.5},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 195},
                    { habtype: "Wetland", Acres: 85} ]);
                [Bindable]
                private var nep17:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 1109.9},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1.14},
                    { habtype: "Estuarine Shoreline", Acres: 0.28},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0.71},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep18:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 1099},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep19:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 101.3} ]);
                [Bindable]
                private var nep20:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 98.72},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 17.99},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 106.13},
                    { habtype: "Wetland", Acres: 12.97} ]);
                [Bindable]
                private var nep21:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 9},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 3},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 2},
                    { habtype: "Upland", Acres: 1451},
                    { habtype: "Wetland", Acres: 27} ]);
                [Bindable]
                private var nep22:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 26},
                    { habtype: "Beach/Dune", Acres: 1.65},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 240.39},
                    { habtype: "Estuarine Shoreline", Acres: 314.97},
                    { habtype: "Instream", Acres: 505.87},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 1450.47},
                    { habtype: "Upland", Acres: 1176.7},
                    { habtype: "Wetland", Acres: 850.58} ]);
                [Bindable]
                private var nep23:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 43.05},
                    { habtype: "Upland", Acres: 4519},
                    { habtype: "Wetland", Acres: 3271} ]);
                [Bindable]
                private var nep24:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 1},
                    { habtype: "Coral Reef", Acres: 0.13},
                    { habtype: "Estuarine", Acres: 0},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 1},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 10} ]);
                [Bindable]
                private var nep25:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 1.6},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 7},
                    { habtype: "Riparian", Acres: 100},
                    { habtype: "Upland", Acres: 6.2},
                    { habtype: "Wetland", Acres: 0} ]);
                [Bindable]
                private var nep26:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5.5},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 4.5},
                    { habtype: "Estuarine Shoreline", Acres: 15},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 82},
                    { habtype: "Wetland", Acres: 40} ]);
                [Bindable]
                private var nep27:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 0},
                    { habtype: "Beach/Dune", Acres: 5.1},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 23},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 4.8},
                    { habtype: "Mangrove", Acres: 3.5},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 0},
                    { habtype: "Upland", Acres: 1221},
                    { habtype: "Wetland", Acres: 17.4}]);   
                [Bindable]
                private var nep28:ArrayCollection = new ArrayCollection( [
                    { habtype: "Agriculture/Ranch Land", Acres: 67},
                    { habtype: "Beach/Dune", Acres: 0},
                    { habtype: "Coral Reef", Acres: 0},
                    { habtype: "Estuarine", Acres: 2},
                    { habtype: "Estuarine Shoreline", Acres: 0},
                    { habtype: "Instream", Acres: 0},
                    { habtype: "Island", Acres: 0},
                    { habtype: "Lake/Pond", Acres: 0},
                    { habtype: "Mangrove", Acres: 0},
                    { habtype: "Other", Acres: 0},
                    { habtype: "Riparian", Acres: 31.33},
                    { habtype: "Upland", Acres: 0},
                    { habtype: "Wetland", Acres: 74.24}]);               
                private function displayAcres(data:Object, field:String, index:Number, percentValue:Number):String {
                    var temp:String= (" " + percentValue).substr(0,6);
                    return data.habtype + ": " + '\n ' + data.Acres + " Acres" + '\n ' + temp + "%";
                //Export to PNG information
                private function saveImageAs(event:MouseEvent):void
                    var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
                    bd.draw(cChart);
                    var png:PNGEncoder = new PNGEncoder();
                    var ba:ByteArray = png.encode(bd);
                    var fr:FileReference = new FileReference();
                    fr.save(ba, "nepfy11-piechart.png");
            ]]>
        </mx:Script>
        <!--mx:SeriesInterpolate id="chartChange" duration="2000" /-->
        <mx:Panel id="cChart" title="2011 Habitat Efforts" width="825" height="600" chromeColor="#527EAC" layout="vertical" color="#FFFFFF" verticalGap="10" x="15" y="15">
            <mx:HBox width="400" height="20">
                <mx:ComboBox id="filterCombo" x="140" y="140" change="changeEvt(event)" color="#000000" >
                    <mx:String>Select NEP</mx:String>
                    <mx:String>Albemarle-Pamlico Estuary Program</mx:String>
                    <mx:String>Barataria-Terrebonne Estuary Program</mx:String>
                    <mx:String>Barnegat Bay Estuary Program</mx:String>
                    <mx:String>Buzzards Bay National Estuary Program</mx:String>
                    <mx:String>Casco Bay Estuary Partnership</mx:String>
                    <mx:String>Charlotte Harbor Estuary Program</mx:String>
                    <mx:String>Coastal Bend Bays and Estuaries Program</mx:String>
                    <mx:String>Delaware Estuary Program</mx:String>
                    <mx:String>Delaware Inland Bays Estuary Program</mx:String>
                    <mx:String>Galveston Bay Estuary Program</mx:String>
                    <mx:String>Indian River Lagoon NEP</mx:String>
                    <mx:String>Long Island Sound Study</mx:String>
                    <mx:String>Lower Columbia River Estuary</mx:String>
                    <mx:String>Maryland Coastal Bays Program</mx:String>
                    <mx:String>Massachusetts Bays NEP</mx:String>
                    <mx:String>Mobile Bay Estuary Program</mx:String>
                    <mx:String>Morro Bay Estuary Program</mx:String>
                    <mx:String>Narragansett Bay Estuary Program</mx:String>
                    <mx:String>New York-New Jersey Harbor Estuary Program</mx:String>
                    <mx:String>Peconic Estuary Program</mx:String>
                    <mx:String>Piscataqua Region Estuaries Partnership</mx:String>
                    <mx:String>Puget Sound Partnership</mx:String>
                    <mx:String>San Francisco Estuary Project</mx:String>
                    <mx:String>San Juan Bay NEP</mx:String>
                    <mx:String>Santa Monica Bay Restoration Project</mx:String>
                    <mx:String>Sarasota Bay Estuary Program</mx:String>
                    <mx:String>Tampa Bay Estuary Program</mx:String>
                    <mx:String>Tillamook Estuaries Partnership</mx:String>
                </mx:ComboBox>
            </mx:HBox>
            <mx:HBox horizontalGap="20" width="822" height="535">
                <mx:PieChart id="chart" showDataTips="true" dataProvider="{ds}" width="634"  height="534" paddingTop="10" fontSize="9" fontFamily="Arial" color="#000000" textAlign="left">
                    <mx:series>
                        <mx:PieSeries id="seriesId" explodeRadius="0.06" nameField="habtype" labelPosition="callout" color="#000000" insideLabelSizeLimit="8" field="Acres" labelFunction="displayAcres">
                        </mx:PieSeries>
                    </mx:series>
                </mx:PieChart>
                <mx:Legend dataProvider="{chart}" dropShadowVisible="true" width="150" color="#000000" height="350" chromeColor="#527EAC" borderColor="#527EAC" direction="vertical"/>          
            </mx:HBox>
        </mx:Panel>
        <mx:Button x="746" y="623" label="Export to PNG" id="btnSnap" click="saveImageAs(event)"/>
        <mx:Button x="651" y="623" label="Export to PDF" click="savePDF(event)" />
    </mx:Application>
    Thanks, Alison

  • JRE Crash with 1.5.0_13 related to printing & PDF export

    Hi,
    I'm having a problem : JRE 1.5.0 (updates 6, 10 and 13 tried) crashes under my software. The problem is encountered with printing / PDF exporting functionality through JFreeReport. Issue is encountered only with dualcore computers. Fortunately the issue isn't encountered with 1.6.0 anymore but I'd still be interested to find some workaround to make the software run with 1.5.0 also (It would be nice not to require users to have 1.6.0) Problem has been detected with both Win XP SP 2 and Vista.
    First I was suspicious because we are using one JNI library but removing that didn't help so that shouldn't be the case.
    After some searching I found a couple of JVM bugs that were marked as duplicates for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6186524 . Those were related to 2D things and hence printing, fonts, exporting and with some cases dualcore computers were mentioned. However, that bug should be fixed in 1.5.0_10 but upgrading to 1.5.0_10 (or 1.5.0_13) didn't help so it can't be the actual bug.
    Error log, if somebody can make up something: (This error log was got when running through Eclipse with JRE set to 1.5.0_13 but error has been encountered also when running straight with just one JRE (1.5.0_XX) installed to computer.)
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x762369e6, pid=5312, tid=5188
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode)
    # Problematic frame:
    # C  [MSCTF.dll+0x69e6]
    ---------------  T H R E A D  ---------------
    Current thread (0x0b3f61d8):  JavaThread "AWT-Windows" daemon [_thread_in_native, id=5188]
    siginfo: ExceptionCode=0xc0000005, reading address 0x580e0e0e
    Registers:
    EAX=0x580e0e0e, EBX=0x00129f40, ECX=0x0b53f288, EDX=0x01300311
    ESP=0x0b53f24c, EBP=0x0b53f250, ESI=0x0b53f288, EDI=0x00123970
    EIP=0x762369e6, EFLAGS=0x00010202
    Top of Stack: (sp=0x0b53f24c)
    0x0b53f24c:   80004005 0b53f28c 76239ae4 580e0e0e
    0x0b53f25c:   00152fe0 00123970 76236704 00140d70
    0x0b53f26c:   013003f1 00000000 00000000 762367c8
    0x0b53f27c:   001ba198 0b8400ec 00000000 580e0e0e
    0x0b53f28c:   0b53f2d0 762391cd 00153118 00000000
    0x0b53f29c:   00129f40 00123970 764d37c0 0b53f6b8
    0x0b53f2ac:   764c5ac9 764d8f11 fffffffe 764d37c0
    0x0b53f2bc:   762367f0 0b8400e4 0b53f2d8 7623689f
    Instructions: (pc=0x762369e6)
    0x762369d6:   ff 55 8b ec 8b 45 08 85 c0 56 8b f1 89 06 74 06
    0x762369e6:   8b 08 50 ff 51 04 8b c6 5e 5d c2 04 00 90 90 90
    Stack: [0x0b500000,0x0b540000),  sp=0x0b53f24c,  free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [MSCTF.dll+0x69e6]
    C  [MSCTF.dll+0x9ae4]
    C  [MSCTF.dll+0x91cd]
    C  [MSCTF.dll+0x9bec]
    C  [MSCTF.dll+0x8e6f]
    C  [IMM32.DLL+0x3472]
    C  [USER32.dll+0x199cd]
    C  [USER32.dll+0x18e4c]
    C  [USER32.dll+0x18de1]
    C  [USER32.dll+0x19132]
    C  [USER32.dll+0x21a10]
    C  [USER32.dll+0x21ae8]
    C  [USER32.dll+0x21c03]
    C  [USER32.dll+0x23656]
    C  [ntdll.dll+0x60e6e]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  sun.awt.windows.WToolkit.eventLoop()V+0
    j  sun.awt.windows.WToolkit.run()V+69
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x0c077b28 JavaThread "export-worker--0" daemon [_thread_in_native, id=6032]
      0x0c0779a0 JavaThread "Repagination-Worker" daemon [_thread_blocked, id=6016]
      0x0c077818 JavaThread "Thread-20" [_thread_blocked, id=4740]
      0x0bf45428 JavaThread "Timer-0" daemon [_thread_blocked, id=4456]
      0x0bfee410 JavaThread "GC Daemon" daemon [_thread_blocked, id=4368]
      0x0bfee288 JavaThread "RMI RenewClean-[192.168.1.155:49177]" daemon [_thread_blocked, id=5460]
      0x00f718a0 JavaThread "DestroyJavaVM" [_thread_blocked, id=5212]
      0x0bfcba50 JavaThread "TimerQueue" daemon [_thread_blocked, id=4704]
      0x0b49d470 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2696]
      0x0b4a6288 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=632]
    =>0x0b3f61d8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5188]
      0x0b3f6050 JavaThread "AWT-Shutdown" [_thread_blocked, id=3368]
      0x0103ef78 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=416]
      0x0103e338 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1216]
      0x0103d9b0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5592]
      0x010333e8 JavaThread "Finalizer" daemon [_thread_blocked, id=4820]
      0x01030e10 JavaThread "Reference Handler" daemon [_thread_blocked, id=4144]
    Other Threads:
      0x0102be10 VMThread [id=936]
      0x00fd8ba8 WatcherThread [id=1316]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 2304K, used 1239K [0x03100000, 0x03370000, 0x035e0000)
      eden space 2112K,  49% used [0x03100000, 0x03205da8, 0x03310000)
      from space 192K, 100% used [0x03340000, 0x03370000, 0x03370000)
      to   space 192K,   0% used [0x03310000, 0x03310000, 0x03340000)
    tenured generation   total 29228K, used 24017K [0x035e0000, 0x0526b000, 0x07100000)
       the space 29228K,  82% used [0x035e0000, 0x04d544d0, 0x04d54600, 0x0526b000)
    compacting perm gen  total 15616K, used 15552K [0x07100000, 0x08040000, 0x0b100000)
       the space 15616K,  99% used [0x07100000, 0x08030000, 0x08030000, 0x08040000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000      C:\Program Files\Java\jre1.5.0_13\bin\javaw.exe
    0x776b0000 - 0x777ce000      C:\Windows\system32\ntdll.dll
    0x764b0000 - 0x76588000      C:\Windows\system32\kernel32.dll
    0x76660000 - 0x7671f000      C:\Windows\system32\ADVAPI32.dll
    0x777f0000 - 0x778b3000      C:\Windows\system32\RPCRT4.dll
    0x76980000 - 0x76a1e000      C:\Windows\system32\USER32.dll
    0x76b90000 - 0x76bdb000      C:\Windows\system32\GDI32.dll
    0x76360000 - 0x7640a000      C:\Windows\system32\MSVCRT.dll
    0x76b70000 - 0x76b8e000      C:\Windows\system32\IMM32.DLL
    0x76230000 - 0x762f7000      C:\Windows\system32\MSCTF.dll
    0x764a0000 - 0x764a9000      C:\Windows\system32\LPK.DLL
    0x76720000 - 0x7679d000      C:\Windows\system32\USP10.dll
    0x10000000 - 0x10017000      C:\Windows\system32\APSHook.dll
    0x6d640000 - 0x6d7dd000      C:\Program Files\Java\jre1.5.0_13\bin\client\jvm.dll
    0x752d0000 - 0x75303000      C:\Windows\system32\WINMM.dll
    0x76a20000 - 0x76b64000      C:\Windows\system32\ole32.dll
    0x76170000 - 0x761fc000      C:\Windows\system32\OLEAUT32.dll
    0x75290000 - 0x752c8000      C:\Windows\system32\OLEACC.dll
    0x75da0000 - 0x75dcc000      C:\Windows\system32\apphelp.dll
    0x6d290000 - 0x6d298000      C:\Program Files\Java\jre1.5.0_13\bin\hpi.dll
    0x75f60000 - 0x75f67000      C:\Windows\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\Program Files\Java\jre1.5.0_13\bin\verify.dll
    0x6d310000 - 0x6d32d000      C:\Program Files\Java\jre1.5.0_13\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\Program Files\Java\jre1.5.0_13\bin\zip.dll
    0x6d000000 - 0x6d16a000      C:\Program Files\Java\jre1.5.0_13\bin\awt.dll
    0x734b0000 - 0x734f1000      C:\Windows\system32\WINSPOOL.DRV
    0x74b80000 - 0x74bbf000      C:\Windows\system32\uxtheme.dll
    0x003e0000 - 0x003f8000      C:\Program Files\Hewlett-Packard\IAM\bin\ItClient.dll
    0x76300000 - 0x76355000      C:\Windows\system32\SHLWAPI.dll
    0x74f50000 - 0x750e4000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
    0x74ec0000 - 0x74f46000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\Comctl32.dll
    0x71cb0000 - 0x71cbc000      C:\Windows\system32\dwmapi.dll
    0x76be0000 - 0x776ae000      C:\Windows\system32\shell32.dll
    0x6d240000 - 0x6d290000      C:\Program Files\Java\jre1.5.0_13\bin\fontmanager.dll
    0x6d4d0000 - 0x6d4e3000      C:\Program Files\Java\jre1.5.0_13\bin\net.dll
    0x76200000 - 0x7622d000      C:\Windows\system32\WS2_32.dll
    0x777e0000 - 0x777e6000      C:\Windows\system32\NSI.dll
    0x755e0000 - 0x7561b000      C:\Windows\system32\mswsock.dll
    0x75640000 - 0x75646000      C:\Windows\System32\wship6.dll
    0x6d4f0000 - 0x6d4f9000      C:\Program Files\Java\jre1.5.0_13\bin\nio.dll
    0x6d3d0000 - 0x6d3ef000      C:\Program Files\Java\jre1.5.0_13\bin\jpeg.dll
    0x75360000 - 0x75398000      C:\Windows\system32\rsaenh.dll
    0x75e20000 - 0x75e3e000      C:\Windows\system32\USERENV.dll
    0x75e00000 - 0x75e14000      C:\Windows\system32\Secur32.dll
    0x74a70000 - 0x74a7f000      C:\Windows\system32\NLAapi.dll
    0x75800000 - 0x75819000      C:\Windows\system32\IPHLPAPI.DLL
    0x757c0000 - 0x757f5000      C:\Windows\system32\dhcpcsvc.DLL
    0x75ac0000 - 0x75aeb000      C:\Windows\system32\DNSAPI.dll
    0x757b0000 - 0x757b7000      C:\Windows\system32\WINNSI.DLL
    0x75790000 - 0x757b0000      C:\Windows\system32\dhcpcsvc6.DLL
    0x727e0000 - 0x727e8000      C:\Windows\System32\winrnr.dll
    0x76930000 - 0x76979000      C:\Windows\system32\WLDAP32.dll
    0x727d0000 - 0x727df000      C:\Windows\system32\napinsp.dll
    0x72070000 - 0x72082000      C:\Windows\system32\pnrpnsp.dll
    0x727c0000 - 0x727cc000      C:\Windows\system32\wshbth.dll
    0x767a0000 - 0x76928000      C:\Windows\system32\SETUPAPI.dll
    0x75220000 - 0x75226000      C:\Windows\System32\wshtcpip.dll
    0x728d0000 - 0x728d6000      C:\Windows\system32\rasadhlp.dll
    0x6d1c0000 - 0x6d1e3000      C:\Program Files\Java\jre1.5.0_13\bin\dcpr.dll
    0x6d5f0000 - 0x6d5f6000      C:\Program Files\Java\jre1.5.0_13\bin\rmi.dll
    0x0b990000 - 0x0b9a1000      C:\Eclipse workspace\fenix\lib\ICE_JNIRegistry.dll
    0x760f0000 - 0x76164000      C:\Windows\system32\COMDLG32.DLL
    0x71610000 - 0x71617000      C:\Windows\system32\spool\DRIVERS\W32X86\3\SDNT5UI.DLL
    0x0bac0000 - 0x0bad2000      C:\Windows\system32\spool\DRIVERS\W32X86\3\SDDM32.DLL
    0x71130000 - 0x71145000      C:\Windows\system32\spool\DRIVERS\W32X86\3\ZSPOOL.dll
    0x710e0000 - 0x710ea000      C:\Windows\system32\spool\DRIVERS\W32X86\3\ZGDI32.dll
    0x70810000 - 0x70821000      C:\Windows\system32\MSVCRT40.dll
    0x715d0000 - 0x715da000      C:\Windows\system32\spool\DRIVERS\W32X86\3\ZTAG32.dll
    0x75650000 - 0x75658000      C:\Windows\system32\VERSION.dll
    0x71060000 - 0x71080000      C:\Windows\system32\spool\DRIVERS\W32X86\3\SDDMUI.DLL
    0x0bae0000 - 0x0bae7000      C:\Windows\system32\spool\DRIVERS\W32X86\3\ZLANG.dll
    0x0bbc0000 - 0x0bbe4000      C:\Windows\system32\spool\DRIVERS\W32X86\3\SR32.dll
    0x0bb70000 - 0x0bb7d000      C:\Windows\system32\spool\DRIVERS\W32X86\3\IMFNT5.DLL
    0x71600000 - 0x71608000      C:\Windows\system32\spool\DRIVERS\W32X86\3\Imf32.dll
    0x76410000 - 0x76494000      C:\Windows\system32\CLBCatQ.DLL
    0x6de10000 - 0x6e033000      C:\Windows\system32\NetworkExplorer.dll
    0x742c0000 - 0x74377000      C:\Windows\system32\PROPSYS.dll
    0x76590000 - 0x7665f000      C:\Windows\system32\WININET.dll
    0x777d0000 - 0x777d3000      C:\Windows\system32\Normaliz.dll
    0x75f70000 - 0x75fb5000      C:\Windows\system32\iertutil.dll
    0x759a0000 - 0x759b4000      C:\Windows\system32\MPR.dll
    0x71940000 - 0x71952000      C:\Windows\System32\ntlanman.dll
    0x75a50000 - 0x75aba000      C:\Windows\System32\NETAPI32.dll
    0x71a00000 - 0x71a08000      C:\Windows\System32\drprov.dll
    0x719d0000 - 0x719df000      C:\Windows\System32\davclnt.dll
    0x734a0000 - 0x734aa000      C:\Windows\system32\cscapi.dll
    0x707e0000 - 0x707e9000      C:\Windows\system32\LINKINFO.dll
    0x6c460000 - 0x6c519000      C:\Windows\system32\spool\DRIVERS\W32X86\3\unidrvui.dll
    0x6bdd0000 - 0x6be8b000      C:\Windows\system32\spool\DRIVERS\W32X86\3\mxdwdrv.dll
    0x6c350000 - 0x6c365000      C:\Windows\system32\FontSub.dll
    VM Arguments:
    jvm_args: -Djava.library.path=c:/Eclipse workspace/fenix/lib -Xbootclasspath/a:C:\Eclipse workspace\fenix\rsrc\images\buttons;C:\Eclipse workspace\fenix\rsrc\images\buttons\general;C:\Eclipse workspace\fenix\rsrc\images\buttons\report
    java_command: XXX
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Java\jre1.6.0_03\bin\client;C:\Program Files\Java\jre1.6.0_03\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Hewlett-Packard\IAM\bin
    USERNAME=XXX
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 72 Stepping 2, AuthenticAMD
    ---------------  S Y S T E M  ---------------
    OS: Windows Vista Build 6000
    CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 72 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowext, 3dnow
    Memory: 4k page, physical 1964736k(863916k free), swap 4159556k(2569432k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_13-b05) for windows-x86, built on Sep 25 2007 19:11:52 by "java_re" with MS VC++ 6.0

    This looks like [bug 6754141|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6754141] in the just-in-time compiler. If you have a support contract you can escalate this to get a fix in a jdk1.5.0 update. Alternatively, there do not seem to be any reports of this in jdk6, so you could try a recent jdk6 update (e.g., jdk6 update 17).

  • DIADEM PDF EXPORT-Not Showing Multiple Pages

    Hello All,
    I have a problem while exporting the DIADEM report table to PDF. The Size of the table is above 4000. When I export these data to PDF it will just export the selected current page datas not all. But I would like to see the entire table in PDF or HTML report not just the current page table
    How can I do that?..
    Thanks in advance for your help...
    Thanks
    Rigil

    Hi Rigil,
    We can do this, but it's going to require an "Automatically Increasing" table as well as a script to loop through all the virtual "pages" of the table (that you don't see in REPORT) and append each sheet to an existing PDF.  PDF appending doesn't work in all versions of DIAdem (it's fairly new)-- which version of DIAdem are you using?  It would be best if you would post your data set and REPORT template (*.TDR) file or email them to me at [email protected]  That way I could send you back a VBScript that you could use immediately without having to adapt it to your situation.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to export only selected columns of WD ALV to excel

    Hi,
    I have WD ALV report with EXPORT button (since standard button was not working properly i just hide that and added custom one) & standard dropdown to choose layout. Out of 20 columns user may choose n number of columns, the same number of columns i need to transfer to xls. How to export only selected columns to xls. Any method or FM to filter number of columns being transfer to xls. please advise
    Rgds
    sudhanshu

    Hi,
    Where exactly we are (or going to be) using this reference i.e., CL_SALV_WD_CONFIG_TABLE. Im passing contents, filename & MIME type as:
    call function 'SCMS_STRING_TO_XSTRING'
        exporting
          TEXT   = TEXT
        importing
          BUFFER = XTEXT.
    WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
    **path to the word file
        I_FILENAME = 'WDP.xls'
    String Variable
        I_CONTENT =  XTEXT
    File Type
        I_MIME_TYPE = 'EXCEL' ).
    In CL_SALV_WD_CONFIG_TABLE we have few methods related to column settings however not sure where exactly we will be using this class reference. can you please give some idea so that i can do some r&d in that.
    Rgds
    Sudhanshu

Maybe you are looking for

  • Trouble saving images from safari

    I'm running into a strange issue and wondering what's going on. Sometimes (not every time) when I save a jpg from safari, it will show up in my saved photos but it will be blank, all grey with a camera icon and jpg under it. Then, any time I save a p

  • Document type RV & RE

    Dear All, Document type RV & RE is not getting updated any Business Area. This document type are auto generated from Billing document?? Regards, Raziq

  • Qosmio G30-194: No sound when watching TV

    I have an G30-194. Tv-tuner finds the TV programs from my area but they have no souns at all. It's select the country ROMANIA, also the corect system Pal/Secam but no result. Can anyone know what it's the problem. Thx a lot.

  • How do I read the enterprise custom fields in C#?

    Hello, At the moment I am stuck trying to read out an enterprise custom field in an office Addin for Project. I know I can read out the custom fields for tasks like this and I am also able to get the project name. app = this.Application; //Custom fie

  • Is there anyone that can guide me or help me converting Micrografx Designer files into a format I can import and edit in Adobe Illustrator?

    I have a number of "old" (2009) drawings in Micrografx Designer format, where I would like to modify some of these in the Adobe Illustrator package I got now. Anybody out there that has some good ideas or that may be able to help me? I did contact Co