<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Render PDF in Adobe AIR with PDF Scaling</title>
	<atom:link href="http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/</link>
	<description>Rich Internet Apps</description>
	<lastBuildDate>Wed, 16 Jun 2010 18:06:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Giametta</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-92</link>
		<dc:creator>Chris Giametta</dc:creator>
		<pubDate>Mon, 26 Apr 2010 13:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-92</guid>
		<description>@James

Be sure to remove it from the container otherwise you will have the old PDF as a child behind the new PDF. By removing the children for the container you wil keep the memory footprint lower as well.</description>
		<content:encoded><![CDATA[<p>@James</p>
<p>Be sure to remove it from the container otherwise you will have the old PDF as a child behind the new PDF. By removing the children for the container you wil keep the memory footprint lower as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James N. Canady</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-91</link>
		<dc:creator>James N. Canady</dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-91</guid>
		<description>If I am loading the container with a pdf file selected from a tree component, do I have to remove the previous pdf file from container or does loading one pdf file automatically remove the previous pdf file?</description>
		<content:encoded><![CDATA[<p>If I am loading the container with a pdf file selected from a tree component, do I have to remove the previous pdf file from container or does loading one pdf file automatically remove the previous pdf file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James N. Canady</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-90</link>
		<dc:creator>James N. Canady</dc:creator>
		<pubDate>Mon, 19 Apr 2010 03:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-90</guid>
		<description>Excellent! One of the few times that I have pasted code which worked without further manipulation.</description>
		<content:encoded><![CDATA[<p>Excellent! One of the few times that I have pasted code which worked without further manipulation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Giametta</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-88</link>
		<dc:creator>Chris Giametta</dc:creator>
		<pubDate>Fri, 26 Mar 2010 01:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-88</guid>
		<description>Amit,
 
That would work if the HTMLLoader component had a percentHeight and percentWidth attribute. Since it does not, unfortunately you cannot apply a string to the pdf.height and pdf.width. They take explicit Numbers to set the width/height.
 
This is why I put in a resize handler function to force the HTMLLoader to resize.
 
-Chris</description>
		<content:encoded><![CDATA[<p>Amit,</p>
<p>That would work if the HTMLLoader component had a percentHeight and percentWidth attribute. Since it does not, unfortunately you cannot apply a string to the pdf.height and pdf.width. They take explicit Numbers to set the width/height.</p>
<p>This is why I put in a resize handler function to force the HTMLLoader to resize.</p>
<p>-Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Gupta</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-87</link>
		<dc:creator>Amit Gupta</dc:creator>
		<pubDate>Wed, 24 Mar 2010 13:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-87</guid>
		<description>My xml was edited. I meant you could actually set the 
pdf.height = &quot;100%&quot;;
pdf.width = &quot;100%&quot;;

then you don&#039;t need a resize handler it should work out of the box</description>
		<content:encoded><![CDATA[<p>My xml was edited. I meant you could actually set the<br />
pdf.height = &#8220;100%&#8221;;<br />
pdf.width = &#8220;100%&#8221;;</p>
<p>then you don&#8217;t need a resize handler it should work out of the box</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Giametta</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-47</link>
		<dc:creator>Chris Giametta</dc:creator>
		<pubDate>Thu, 04 Feb 2010 17:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-47</guid>
		<description>Hi Olayode,

To disable/remove toolbars from the PDF you need to pass in this parameter to the URL:  #toolbar=0.

In my example simply change:

var request:URLRequest =
               new URLRequest(&quot;http://localhost:8080/af_Central/a.pdf&quot;);

To:

var request:URLRequest =
               new URLRequest(&quot;http://localhost:8080/af_Central/a.pdf#toolbar=0&quot;);

That should do the trick.

Good luck!

FYI, if you want to disable the left panel (Bookmark/Signatures/Layers/pages) you can add navpanes=0 like:

var request:URLRequest =
               new URLRequest(&quot;http://localhost:8080/af_Central/a.pdf#toolbar=0&amp;navpanes=0&quot;);

You can get the complete parameter list here:

http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf
</description>
		<content:encoded><![CDATA[<p>Hi Olayode,</p>
<p>To disable/remove toolbars from the PDF you need to pass in this parameter to the URL:  #toolbar=0.</p>
<p>In my example simply change:</p>
<p>var request:URLRequest =<br />
               new URLRequest(&#8221;http://localhost:8080/af_Central/a.pdf&#8221;);</p>
<p>To:</p>
<p>var request:URLRequest =<br />
               new URLRequest(&#8221;http://localhost:8080/af_Central/a.pdf#toolbar=0&#8243;);</p>
<p>That should do the trick.</p>
<p>Good luck!</p>
<p>FYI, if you want to disable the left panel (Bookmark/Signatures/Layers/pages) you can add navpanes=0 like:</p>
<p>var request:URLRequest =<br />
               new URLRequest(&#8221;http://localhost:8080/af_Central/a.pdf#toolbar=0&#038;navpanes=0&#8243;);</p>
<p>You can get the complete parameter list here:</p>
<p><a href="http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf" rel="nofollow">http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Giametta</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-46</link>
		<dc:creator>Chris Giametta</dc:creator>
		<pubDate>Thu, 04 Feb 2010 17:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-46</guid>
		<description>Hi Olayode,

Please check out Adobe AIR Update for Flash CS3 Pro. This link might help you:  

http://help.adobe.com/en_US/AIR/1.1/devappsflash/WS5b3ccc516d4fbf351e63e3d118666ade46-7f57.html</description>
		<content:encoded><![CDATA[<p>Hi Olayode,</p>
<p>Please check out Adobe AIR Update for Flash CS3 Pro. This link might help you:  </p>
<p><a href="http://help.adobe.com/en_US/AIR/1.1/devappsflash/WS5b3ccc516d4fbf351e63e3d118666ade46-7f57.html" rel="nofollow">http://help.adobe.com/en_US/AIR/1.1/devappsflash/WS5b3ccc516d4fbf351e63e3d118666ade46-7f57.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olayode Ezekiel</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-45</link>
		<dc:creator>Olayode Ezekiel</dc:creator>
		<pubDate>Wed, 03 Feb 2010 11:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-45</guid>
		<description>can you also show how this can be done in air app in Flash CS3?</description>
		<content:encoded><![CDATA[<p>can you also show how this can be done in air app in Flash CS3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olayode Ezekiel</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-44</link>
		<dc:creator>Olayode Ezekiel</dc:creator>
		<pubDate>Wed, 03 Feb 2010 08:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-44</guid>
		<description>This is a great light, but is there a way to disable the pdf toolbar or to disable some of the tools like print, copying text or another tool?</description>
		<content:encoded><![CDATA[<p>This is a great light, but is there a way to disable the pdf toolbar or to disable some of the tools like print, copying text or another tool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Fong</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/comment-page-1/#comment-38</link>
		<dc:creator>Randy Fong</dc:creator>
		<pubDate>Tue, 03 Nov 2009 20:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45#comment-38</guid>
		<description>My Air/PDF apps stopped displaying PDFs a couple weeks ago, so I tried your example to see if it&#039;s might be because something has changed in the environment. 

Is anybody else experiencing the same problem?

Windows 64 bit Vista Ultimate. Air 1.5 and Flex 3.0.2. Acrobat 9.</description>
		<content:encoded><![CDATA[<p>My Air/PDF apps stopped displaying PDFs a couple weeks ago, so I tried your example to see if it&#8217;s might be because something has changed in the environment. </p>
<p>Is anybody else experiencing the same problem?</p>
<p>Windows 64 bit Vista Ultimate. Air 1.5 and Flex 3.0.2. Acrobat 9.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
