<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AlivePDF and Flex 2.x in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241424#M5683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I will try to dig into your widget code a little more... I have my print widget working just fine in FlexViewer 2.2 with AlivePDF 0.1.5 RC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Feb 2011 19:56:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-02-04T19:56:44Z</dc:date>
    <item>
      <title>AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241417#M5676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a widget in my old FlexViewer 1.x app that would create a pdf utilzing the AlivePDF 1.4.9 library.&amp;nbsp; I'm trying to replicate this tool in my new FlexViewer 2.x app and when the pdf is created, I keep getting the attached error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The pdf will generate the text info but no map image is being displayed.&amp;nbsp; Here is the line of code calling the pdf...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;myPDF.save(Method.REMOTE, "&amp;lt;my server&amp;gt;/default.aspx", Download.INLINE, "mapPDF.pdf");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does AlivePDF not work with the Flex 4 SDK and SFV 2.x???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 15:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241417#M5676</guid>
      <dc:creator>DouglasGuess</dc:creator>
      <dc:date>2011-02-04T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241418#M5677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know it still works with the current Flex API as myself and others still use it, but I don't save remotely, so I'm not sure if that might be the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I let users save locally, so mine just looks like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var bytes:ByteArray = _pdf.save(Method.LOCAL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fileReference.save(bytes, "map.pdf");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 16:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241418#M5677</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-02-04T16:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241419#M5678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; In FlexViewer 2.2 there is really no need for the remote server method of saving as FV2.2 requires Flash Player 10 or above which gives you the ability to save files to the client machine. Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; const fileReference:FileReference = new FileReference();
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileReference.addEventListener(Event.COMPLETE, removeCur);
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileReference.addEventListener(Event.CANCEL, removeCur);
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileReference.addEventListener(IOErrorEvent.IO_ERROR, removeCur);
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileReference.addEventListener(SecurityErrorEvent.SECURITY_ERROR, removeCur);
&amp;nbsp;&amp;nbsp;&amp;nbsp; fileReference.save(myPDF.save(Method.LOCAL,"",Download.INLINE,"myPDF.pdf"),"map.pdf");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241419#M5678</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241420#M5679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried that and the resulting pdf output is attached....text info is displayed but no map image.&amp;nbsp; I get the error message when I open the pdf.&amp;nbsp; I'm using Adobe 9.&amp;nbsp; I've also attached my createPDF widget if that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 17:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241420#M5679</guid>
      <dc:creator>DouglasGuess</dc:creator>
      <dc:date>2011-02-04T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241421#M5680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; AlivePdf has issues with transparency in png files so you need to change to JPG like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;myPDF.addImage(map,4,32,w-8,(w-20)/ratio,ImageFormat.JPG,100,Blend.NORMAL,null);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241421#M5680</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241422#M5681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Might want to check out this pdf generation library too..&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/purepdf/"&gt;http://code.google.com/p/purepdf/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 17:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241422#M5681</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-02-04T17:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241423#M5682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Changed to jpg and still no luck.&amp;nbsp; This same code worked in my flex 1.x app???&amp;nbsp; Has anyone successfully implemented the purePDF library?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 18:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241423#M5682</guid>
      <dc:creator>DouglasGuess</dc:creator>
      <dc:date>2011-02-04T18:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241424#M5683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I will try to dig into your widget code a little more... I have my print widget working just fine in FlexViewer 2.2 with AlivePDF 0.1.5 RC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 19:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241424#M5683</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-02-04T19:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241425#M5684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I downloaded AlivePDF 0.1.5 RC, there were some changes to font declarations; however, I'm still receiving the error message.&amp;nbsp; Robert, you said that you have your widget working fine, could I see how you are setting up your pdf page and how you add the map image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 12:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241425#M5684</guid>
      <dc:creator>DouglasGuess</dc:creator>
      <dc:date>2011-02-07T12:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241426#M5685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doug,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Sure, Of course I am doing stuff in the code specific to my sites needs, but here it is:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 12:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241426#M5685</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-02-07T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: AlivePDF and Flex 2.x</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241427#M5686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, figured out what my problem was.&amp;nbsp; It was able to handle the way I was setting the image width and height.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 13:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alivepdf-and-flex-2-x/m-p/241427#M5686</guid>
      <dc:creator>DouglasGuess</dc:creator>
      <dc:date>2011-02-07T13:21:12Z</dc:date>
    </item>
  </channel>
</rss>

