Gis map legend missing on .pdf exporting

Hi guys,
i've a big problem with the WAD exporting for printing.
I've a simple gis map template with legend visible.Template is running fine on internet explorer but when i try to print report (right clic on the map - printable version) in the output .pdf file the legend is missing.
I try everything: with ie print, with adobe pdf ie add-on, exporting in excel format but the map legend is always missing.
Can anyone help me?
Thanks in advance.
Andrea

Hello Andrea,
you should check the properties for the map web item in your export template.
The content template is 0ANALYSIS_PATTERN_EXPORT for the print version.
There might be the "display legend" flag turned off.
Regards
Tobias

Similar Messages

  • Photoshop CS4 - Layers Missing in PDF Export

    Hi there,
    I'm working on a leaflet design for a client in Photoshop CS4 and am having a real issue with the PDF export. There are three layer groups all containing the same graphics, but when I export these to PDF - whether compressed or uncompressed and I've tried Reader 5 - 8 compatibility and with varying settings the layers do not appear in the PDF.
    They are visible as plain as day in Photoshop, but don't appear at all in the PDF.
    Any help would be gratefully appreciated,
    Many thanks,
    Martin Oxby
    mOxby Design
    Custom Web Design

    Thanks for your answer :-) I will try the gradually merging option first. I did flatten it but lost a LOT of quality in the PDF, which is not great when this has to go to the printer's.
    My image doesn't have clipping paths (probably hard to believe) but does have an epic number of layers. Here are the offending layers - nothing complex at all. The layers that don't appear, simply are the three squares which are in the 'Logo Squares' layer group.
    If this enlightens you at all please let me know and I'll get back to you again. Thanks for posting!

  • Characters missing in PDF export on Windows

    I have a EPS logo placed in InDesign.
    When I export to a PDF there are characters missing in the PDF:
    When I check the PDF's fonts it lists them as using a custom encoding.
    When my collegue uses the same logo in InDesign on a Mac, all the characters are included in the PDF and the fonts are listed as using ANSII encoding.
    If we open the logo in Illustrator and export it as an EPS, it works properly on both platforms. However, since we typically place this type of logo via scripting, we would like to be able to either have a fix for the bug or be able to identify the what types of logo files causes this issue so can automatically check the logo before using it. Is this a known problem?

    Hmm .. (HelveticaNeue was a likely candidate for the source of your problem if, and only if, the file was made on a Mac -- its system version of HN is a bit ... messed up ... by Apple.)
    Just for clarity, can you check with what software this EPS was made? Open it with a regular text editor, that info should be somewhere in the first lines, usually in a line that starts with "%%Creator:".
    If you drop the EPS file on Distiller, is the resulting PDF okay?

  • Want to understand using Reader to manipulate GIS PDF exports

    We export GIS maps to pdf files and make then available online.  I've heard that the GIS layers are preserved in the pdf file.  Can Reader users manipulate those layers (e.g. on/off, stacking order)?  Is there anything we need to do extra in GIS?  Are there settings other than resolution that need to be set during export?
    Also, since I have Acrobat Pro installed on my laptop, and I don't think I want to install Reader, how do I test Reader capabilities with these map pdfs?
    Probably looking for a link to some basic Reader tutorial that includes layered pdf files.
    Thanks
    Tom

    Adobe never recommended using a Reader/Acrobat combination until version X. Adobe recommends users install Reader X and Acrobat X as Reader X has enhanced protections to keep your computer safe when browsing pdfs on the net. Feel free to install both on your computer.

  • CS3: PDF-Export Transparency Issue when Image-Links are missing

    I have a Layout with a transparent Frame on the top most Layer. For this Workflow-Step I do not have access to the original Image-Links, so I guess that all I see are the embedded Preview-Pictures and InDesign reports that all Object-Links are missing.
    If I export this Layout as JPG, the resulting JPG looks like the WYSIWYG in InDesign, which is suitable for this workflow-step. However when I export as pdf, the Frame is not transparent anymore. Instead it is filled with white color and covers the rest of the Layout. In Adobe Reader I can actually select the wrongly covered Picture at the border of the frame and copy&paste it somewhere and it looks fine.
    When I provide the original Frame-Picture and repair the missing Link in InDesign, PDF-Export works fine.
    I have installed & updated InDesign on a new Mac OS X 10.4.11, so all settings should be default.
    Transparency Blend Space is set to CMYK. I tried all default PDF-Export Profiles and tried a lot of different settings in the pdf-export dialogue including different PDF-File-Versions, Simulate Overprint on/off, Color-Conversion disabled, disabling Picture-Compression and much more. I also tried to Print a PS-File and then use the Distiller: same result.
    I use Adobe InDesign CS3 V 5.0.2 and tried Adobe Reader 8.1.2 and Adobe Acrobat Pro 8 to display.
    Any Ideas?

    Transparency flattening REQUIRES having access to the high-resolution images to get good results. One of the slogans I teach printers is "Fatten before you flatten." Meaning, replace the low-res images with high-res images.

  • Bug - PDF export missing brush strokes

    Can anyone reproduce this apparent bug in FHMX?
    1. Apply a brushstroke to an object.
    2. Group with 'Transform As Unit' checked.
    3. Duplicate object several times. Scale some of the copies
    larger and some
    smaller.
    4. Export document to PDF.
    Open exported PDF in Acrobat, Illustrator or Preview.
    Unexpected results:
    All of the scaled copies of the object are missing from the
    PDF.
    Judy Arndt
    FHMX 11.0.2, Mac OS 10.4.6

    Rich Hudgins wrote:
    > Confirmed in FH10 - OSX 10.4.x. I tried opening the PDF
    back into FH
    > just for kicks... very interesting. There are the exact
    number of
    > originals and dupes directly on top of the original.
    i.e. I made an
    > original and two smaller and two larger dupes, offset
    from the original.
    > In the FH opened PDF there were 5 exact copies of the
    original item
    > directly on top of each other. There were also 5
    nostroke-nofill copies
    > of the original shape without the brush stroke.
    Wow! Yes! Same here.
    Any transforms done to an object after being grouped with
    'Transform As
    Unit', are being ignored by the PDF Export.
    This series of steps will produce the same problem described
    by Makate.
    1. Apply a brushstroke to an object.
    2. Duplicate object and move it to another location on page.
    3. Group the duplicate object with 'Transform As Unit' (TAU)
    checked. Then
    scale it larger.
    4. Export document to PDF.
    Unexpected results:
    The duplicate object will be the same size as the original
    object.
    This will happen not only with brush strokes but with
    ordinary strokes. PDF
    Export is missing all transformations made after TAU is
    applied. If I
    remember correctly, TAU, which has been in FH since very
    early versions, is
    a kind of Postscript envelope. My theory is that because FH
    doesn't have a
    Postscript interpreter, it's missing the Postsript
    transformations.
    This limitation in PDF Export is very unfortunate because the
    default
    preference setting in a new FH installation is "Groups
    transform as unit by
    default". It is the logical way to preserve the appearance of
    artwork with
    strokes, brush strokes and vector effects. New users could
    not possibly know
    that this is one of the many limitations of PDF export. It's
    not listed in
    the technote, but it may be the reason for 'missing objects'.
    http://www.adobe.com/go/tn_13496
    Using Acrobat Pro/Distiller is the only safe way to generate
    PDF files from
    FreeHand.
    Judy Arndt

  • Pdf export artwork missing

    Hello illustrators.
    im exporting a pdf from illustrator,and half of my artwork is missing!what can i have done wrong?
    thank you.

    Well, I don't have an answer to the question, but I have been able to come up with a workaround that others might be interested in...
    What I did was split the presentation into two pieces and generate PDFs from each piece. The (shorter) pieces both exported correctly. Then I used PDFLab (http://www.iconus.ch/fabien/index.html), a free PDF Utility, to put the two pieces back together. The result was a single PDF that contained the entire presentation.
    In my mind, the fact that this workaround was successful suggests to me that there is a bug in the PDF Export code of Keynote (at least v4.0.4 — I haven't bought into iWork 09 yet).

  • PDF Export: Missing Graphics

    PDF Export: Missing Graphics<br /><br />Below is a section of code we are using to export a document as a PDF. The code will work 99% of the time, but occasionally we are getting the resulting PDF with some of the linked PDF components completely missing!<br /><br />The only way we have been able to reproduce this is (strangely) by continually opening and closing 'Windows Explorer' windows (We are using CS2 on XP), just as the process begins, until the final PDF is created.<br /><br />Our customer (who has hilighted the problem) would clearly not be doing this but we feel there is an issue here. (If the keyboard and mouse are left completely alone, the process is successful... 100% OF THE TIME!).<br /><br />The problem occurs both on site and at base, the linked PDF's are located on the LAN.<br /><br />The code snippet (with error checking taken out for brevity) is below:<br /><br />     UIDRef pageUIDRef = PCSImageUtils::GetFirstPageUIDRef();<br />     UIDList temp = ((UIDList)(pageUIDRef));     <br /><br />     ErrorCode status = kFailure;<br />     do<br />     {<br />          // obtain command boss<br />                InterfacePtr<ICommand> pdfExportCmd(CmdUtils::CreateCommand(kPDFExportCmdBoss));<br />          <br />          // set export prefs<br />          InterfacePtr<IPDFExportPrefs> pdfExportPrefs(pdfExportCmd, UseDefaultIID());<br />          InterfacePtr<IPDFExportPrefs> appExportPrefs((IPDFExportPrefs*)::QuerySessionPreferences(IID_IPDFEXPORTPREFS));<br />          pdfExportPrefs->CopyPrefs(appExportPrefs);<br /><br />          // set SysFileData<br />          PMString pmFilePath("C:\\Outputfile.PDF");<br />          IDFile sysFilePath(pmFilePath);<br />          InterfacePtr<ISysFileData> trgSysFileData(pdfExportCmd, IID_ISYSFILEDATA);<br />          trgSysFileData->Set(sysFilePath);<br />          <br />          // set UI flags<br />          InterfacePtr<IUIFlagData> uiFlagData(pdfExportCmd, IID_IUIFLAGDATA);<br />          uiFlagData->Set(kSuppressUI);<br />          <br />          // set UIDList containing pages to output (item list of command)<br />          UIDList theList(temp);<br />          pdfExportCmd->SetItemList(theList);<br />          <br />          // set UIDRefs containing pages to output (IOutputPages)<br />          InterfacePtr<IOutputPages> outputPages(pdfExportCmd, UseDefaultIID());<br />          outputPages->Clear();<br />          IDataBase* db = theList.GetDataBase();<br />          outputPages->SetMasterDataBase(db);<br />          int32 nProgressItems = theList.Length(); <br />          for (int32 index = 0 ; index < nProgressItems ; index++) <br />          {<br />                  outputPages->AppendUIDRef(theList.GetRef(index));<br />          }<br /><br />          // set PDF document name (get name from IDocument)<br />          InterfacePtr<IDocument> doc ((IDocument*)db->QueryInstance(db->GetRootUID(), IID_IDOCUMENT));<br />          PMString documentName; <br />          doc->GetName(documentName);<br />          outputPages->SetName(documentName);<br />          <br />          // finally process command<br />          status = CmdUtils::ProcessCommand(pdfExportCmd);<br />     } while(false);<br /><br />Thanks in advance.<br /><br />Dave Wilson.

    Hi Dave,
    It looks like a problem with unsafe threads inside command ...
    Did you tried set some preferences from next ?
    SetPDFExOmitPDF( kExportOmitPDFOFF )
    SetPDFExOmitBitmapImages ( kExportOmitBitmapImagesOFF )
    may be help you stabilize export process ...
    Pavol Nachaj
    www.exec.cz
    Prague

  • 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

  • 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

  • Keynote and PDF Export

    Exporting Keynote presentation in PDF via email is a great feature that has been awaited by potential business users.
    However, PDF exports from ipad do not seems to be supported by acrobat especially on PCs/windows system. Font conversion seems corrupted and text appears with bullets.
    Any hint on how to send keynote presentation converted in pdf properly ?
    Many thx

    I also ran into a bug with PDF export today. The PDF displayed properly on my mac, but when viewed on other laptops (and when uploaded to Scribd), the text was missing. :/
    Workaround was to export the keynote file to my mac, then use the desktop keynote app to re-export as PDF.

  • Single letters dropping out in PDFs exported from Indesign CS

    We are having font issues in some of our magazine's advertisements which proved very costly last month. First let me describe the work flow.
    We designed an ad in Indesign CS then exported it using the press setting in Indesign's PDF export option. Here the ad looked and printed fine. The ad was then placed in another Indesign file which was for the layout of one of our magazines. Here the ad still looked fine on screen and when printed out from Indesign. This next step is where the font issue occurs.
    When we export the the final magazine's press ready Indesign file, through the PDF press setting in Indesign again, single letters in these problem ads drop out. For example all of the Ds' in the entire ad will be missing. So a sentence in the ad that read "Dirt is Dark" will read " irt is  ark." 
    I am wondering if anyone else has had this problem occur and if they have a solution. The only thing I can think of is in the compression settings there is an option to compress text and line art. We are going to try to uncheck that box to see if it fixes the problem.
    Thank you for you help,
    Javin.

    I realized, of course, that it does make a difference. If you don't have the fonts on your system, a frequent issue with incoming ads, you couldn't embed the full font at all. You need to be sure that ads generated in CS have fully embedded fonts, not subsets, or risk dropouts. It will only happen when more than one ad uses the same font, but different glyphs.

  • Problem with PDF export and embedded font (characters disappear)

    Designer: Crystal Reports 2008 SP 2
    Engine: CR4E 2.0 SP2 (runtime_12.2.203)
    Hi there!
    we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
    Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
    Export the Rpt file with CR4E to a pdf file.
    When we open the pdf file in Adope Reader 8, the text appears to be correct,
    but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
    here we are missing ther german umlaute.
    When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
    After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
    For all of you that have the same problem here the workaround:
    We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
    Here the code:
    ReportClientDocument doc = new ReportClientDocument();
    doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
    //... database logon,.....
    InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
    inputStream = PDFHealer.heal(inputStream);
    //... write the stream some where

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

  • Crystal Reports for VS 2010 corrupts "some" Thai chars on PDF Export

    Any Thai character that contains a symbol above it (like an umlat in English) gets corrupted when exporting a report to PDF, yet the same report can be exported to Excel or Word without any issue.
    See the following character - once with a symbol above one without:
    ล้ ล
    The PDF file will not display the first character - instead it displays the second character overlayed on a box (like you get when the font does not contain the required character)
    If I create a text field in the Crystal designer, it does the same thing - but when I right click and edit, it displays correctly - until I click out of the field when the problem returns. So this suggests the problem is before the PDF export and maybe with the designer - but then why does it work if i export to Word?
    I have tried may different fonts - including those specifically recommended and used by the Thais, but all have the same issue.
    My work around at the moment is to use Word instead of PDF, as I do not believe there is a configuration change I can make that will resolve the issue, but would love to hear otherwise.
    I am using Crystal Reports for Visual Studio 2010 version 13 running on Windows 7 x64. I have a beta 2 download of v14, but it requires a key code which i do not have, so as yet ahave been unable to verify if this issue is resolved in that version.
    if anyone knows otherwise, please let me know
    Cheers
    Jed

    Thanks Don,
    (Good to know that version 13 I am running is the correct one)
    I have tried many UTF-8 fonts, with largely similar results, but this testing here is with Cordia New - a font largely aimed at Thai Language and the one our Thai customers always use.
    I have confirmed that right click and export from the IDE still shows the box on certain characters - but note that the box does not replace these characters (as would be the case if they were missing) but rather overlays them - which is why my subject includes the word 'corrupt'
    All testing so far in on my Windows 7 development machine - so no user issues are involved
    The code if fairly simple at this stage - define and load a data set - then link it to the report and use the built in export to disk functions:
                    OutboundSummary rpt = new OutboundSummary();
                    rpt.SetDataSource(outboundSummary);
                    string tempDir = Environment.GetEnvironmentVariable("TEMP") + "
                    string filename = tempDir + DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss");
                    rpt.ExportToDisk(ExportFormatType.PortableDocFormat, filename + ".pdf");
                    rpt.ExportToDisk(ExportFormatType.WordForWindows, filename + ".doc");
    If anyone wanted to verify, here is a piece of Thai text that will show the problem
    ผลรวมแฟกซ์ที่ยังอยู่ในคิว
    To better illustrate the problem, the attached image will help
    [IMG]http://i55.tinypic.com/hweh42.jpg[/IMG]
    I am coming to the conclusion that perhaps these characters are not single characters - at least do not appear as such with each font - and perhaps Windows does some magic to make them appear correctly. I can see that Word automatically converts them to a suitable font - i.e. a mixed language text file imports into word with different fonts for different languages - and you cannot change the font to one that does not support the language. I can specify Arial from Crystal which does not contain thai characters at all - but export to word and they show correctly.
    Crystal spits the data out and Word converts it correctly, but acrobat does not - so maybe it is their fault?
    I have all language packs on my machine - and doing Chinese next suggests that even if I find a thai font that worked, it would not work in chinese, so am thinking word or rtf might be the winner.
    Cheers
    Jed

  • PDF export problem in Pages/Keynote/Preview

    I am having some problems with PDF exports (and "Print as PDF")  from Pages (as well as Keynote and Preview).  Here is my situation:
    I am creating a PDF of a barchart+legend from the program Mathematica.  I suspect the way the exported PDF is formatted is that the chart and legend are two blocks within the PDF.  This PDF opens perfectly in Preview and Adobe Reader, and imports perfectly into Pages and Keynote.  However, when the Pages/Keynote document is exported to PDF or printed to PDF, the resulting file opens fine in Preview but not in either the Mac or Windows version of Adobe Reader (part or all of the image fails to appear with a generic "An error exists on this page, please contact the author of this document to correct this problem" error message).  This also happens with the PDF is exported/printed as PDF from Preview itself - the resulting file opens fine in Preview but not with Acrobat.
    Any suggestions?  While I could reconstruct the barcharts individually in Pages itself, for the sorts of documents I'm working on I could easily have dozens of PDFs to import for a single project, and it's much easier to export the files from Mathematica as the analysis is done than rebuild each one from scratch.

    As far as I know, there is no provision for such settings in these programs.
    Developer documentation for ICC colour management in Firefox 2, Firefox 3 and Firefox 3.5, see below. Firefox 3 has ICC colour management disabled by default. Firefox 3.5 has ICC colour management for images within which there is embedded an ICC source colour space profile. It is possible to set Firefox to colour manage the application windows as well as images with embedded ICC profiles. The developer documentation discusses how to do this in what sounds suspiciously like a command line / terminal tool, and also how to point Firefox 3.5 to the display profile. This in turn sounds suspiciously like Firefox 3.5 is unable to talk to the system level service and ask for the display profile automatically.
    Camino and Opera ... I'll pass. I suspect it's more of the same mess.
    /hh
    Reference:
    https://developer.mozilla.org/En/ICCcolor_correction_inFirefox

Maybe you are looking for

  • How to deploy an ADF RC application to any OC4J that running on Linux?

    I developed an application with the latest Jdev 11gTP3. The team has a linux server that I want to install an OC4J and deploy my application. I tried the following: 1. OC4J standalone 11g. Followed the installation instruction, with the command: $ORA

  • How do I make subform flow down page without overlaping text?

    Here is my issue. I have a checkbox and if the user clicks on the checkbox a paragraph of text (which is in a subform) appears if they uncheck it, the subform of text dissappears. But my problem is if they uncheck it the subform dissapears which is w

  • Problems after Jelly Bean upgrade

    I upgraded to Jelly Bean when it came available and immediately started noticing problems.  The phone became sluggish in general but most notably the keyboard lagged to the point where texting became problematic.  I was unable to use the gallery app

  • Connect iPod to iTunes?

    My computure krashed and all music is gone. Now when i reinstalled iTunes and are connecting my iPod it says that the iPod are connected to another library, and that i can chose between write over all songs in my iPod with the song in my new library

  • WLC failed to connect to WCS by snmp

    Hi fellows, I've a solution implemented that contains 1 WCS and 3 WLC. For some unknown reason, started from some point, one of the WLC started to fail to connect by snmp to the WCS, given the next error " %AAA-3-LDAP_CONNECT_SERVER_FAILED: ldap_db.c