<?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: Flex Paint &#8211; Flex Display Object to PNG</title>
	<atom:link href="http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/</link>
	<description>Rich Internet Applications &#124; Flex &#124; Adobe AIR &#124; Java &#124; Open Source &#124; Linux &#124; Enterprise Software &#124; Cloud</description>
	<lastBuildDate>Thu, 29 Jul 2010 05:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-3/#comment-158674</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Sat, 10 Apr 2010 14:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-158674</guid>
		<description>@santhosh You can just wrap it inside a scrollable container.  Check out the new version where this would be much easier.</description>
		<content:encoded><![CDATA[<p>@santhosh You can just wrap it inside a scrollable container.  Check out the new version where this would be much easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhosh</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-3/#comment-158672</link>
		<dc:creator>santhosh</dc:creator>
		<pubDate>Sat, 10 Apr 2010 11:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-158672</guid>
		<description>Hi 

Do you have a idea how to  make the drawing board with scrollable.</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Do you have a idea how to  make the drawing board with scrollable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-3/#comment-158597</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Mon, 22 Mar 2010 19:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-158597</guid>
		<description>I’ve created a &lt;a href=&quot;http://www.jamesward.com/2010/03/22/flex-paint-updated-to-flex-4/&quot; rel=&quot;nofollow&quot;&gt;new version of Flex Paint&lt;/a&gt; with Flex 4.</description>
		<content:encoded><![CDATA[<p>I’ve created a <a href="http://www.jamesward.com/2010/03/22/flex-paint-updated-to-flex-4/" rel="nofollow">new version of Flex Paint</a> with Flex 4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-3/#comment-158329</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Thu, 07 Jan 2010 17:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-158329</guid>
		<description>@Gene I haven&#039;t tried this with large images.  Without some code to play with it&#039;s hard to say what the best approach is.</description>
		<content:encoded><![CDATA[<p>@Gene I haven&#8217;t tried this with large images.  Without some code to play with it&#8217;s hard to say what the best approach is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gene</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-3/#comment-158328</link>
		<dc:creator>Gene</dc:creator>
		<pubDate>Thu, 07 Jan 2010 17:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-158328</guid>
		<description>I am working on a project that has a similar feature but with one difference.  I have a &quot;paint&quot; like feature but it also has the ability to import images and then they can draw and add text similar to your example above, but then the entire contents of the &quot;paint palette&quot;  are saved as a new image. The issue is that the images that I am dealing with are very large ( like over 200 megs ) and the only thing that seems to make sense is to convert the image to a smaller size while in the paint pallette. We use a similar technique to save the image, but the issue is that when the new saved image is blown up it looks pixelated ( I am guessing this is because the imported 200 meg file lost some resolution when being converted to a smaller size, but this is the only way to make it look good in the pallette ). Any suggestions AT ALL would be so greatly appreciated. The end &quot;saved&quot; image needs to be able to be blown up LARGE ( like the size of a billboard large).  PLEASE PLEASE PLEASE HELP!!!!!</description>
		<content:encoded><![CDATA[<p>I am working on a project that has a similar feature but with one difference.  I have a &#8220;paint&#8221; like feature but it also has the ability to import images and then they can draw and add text similar to your example above, but then the entire contents of the &#8220;paint palette&#8221;  are saved as a new image. The issue is that the images that I am dealing with are very large ( like over 200 megs ) and the only thing that seems to make sense is to convert the image to a smaller size while in the paint pallette. We use a similar technique to save the image, but the issue is that when the new saved image is blown up it looks pixelated ( I am guessing this is because the imported 200 meg file lost some resolution when being converted to a smaller size, but this is the only way to make it look good in the pallette ). Any suggestions AT ALL would be so greatly appreciated. The end &#8220;saved&#8221; image needs to be able to be blown up LARGE ( like the size of a billboard large).  PLEASE PLEASE PLEASE HELP!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-2/#comment-157824</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Mon, 31 Aug 2009 22:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-157824</guid>
		<description>Hi yugandhar,

You need to move the processing of the bitmaps across frames.  The spinner never gets a chance to spin if you do everything in a single frame.  You can process one, then do a callLater that processes the next one and so on.  Let me know if that helps.

-James</description>
		<content:encoded><![CDATA[<p>Hi yugandhar,</p>
<p>You need to move the processing of the bitmaps across frames.  The spinner never gets a chance to spin if you do everything in a single frame.  You can process one, then do a callLater that processes the next one and so on.  Let me know if that helps.</p>
<p>-James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yugandhar</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-2/#comment-157805</link>
		<dc:creator>yugandhar</dc:creator>
		<pubDate>Sat, 29 Aug 2009 06:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-157805</guid>
		<description>hi 
james nice work and clear example

but  my application have multiple bitmaps, need to save into server
while encoding the bitmaps am playing spinner(then the entire appliction strucking spinner(loading inditcator)is not playing)

my requriement is need to play sppinner while saving the mutiple bitmaps...
can you help me out....

thank you
yugandhar.</description>
		<content:encoded><![CDATA[<p>hi<br />
james nice work and clear example</p>
<p>but  my application have multiple bitmaps, need to save into server<br />
while encoding the bitmaps am playing spinner(then the entire appliction strucking spinner(loading inditcator)is not playing)</p>
<p>my requriement is need to play sppinner while saving the mutiple bitmaps&#8230;<br />
can you help me out&#8230;.</p>
<p>thank you<br />
yugandhar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-2/#comment-157462</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Wed, 17 Jun 2009 00:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-157462</guid>
		<description>Wow Greg!  Great work!  Thanks for posting the details here.</description>
		<content:encoded><![CDATA[<p>Wow Greg!  Great work!  Thanks for posting the details here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Baker</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-2/#comment-157461</link>
		<dc:creator>Greg Baker</dc:creator>
		<pubDate>Tue, 16 Jun 2009 21:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-157461</guid>
		<description>Hey James, thanks for the reply.  I changed some of the code and figured I&#039;d post my methods back here since so many people read this blog.

1) in the mousedown event handler I added a stage event handler for mouse up.  In the stage mouse up handler I simply remove the handler and set drawing=false.  This fixed the problem where if you release the mouse outside of the canvas it keeps drawing inside the canvas.

2) As per your advice, in the mouse out handler I de-register the mouse move handler and in the mouse over handler I re-register the mouse move handler and reset the x &amp; y coordinates.  This makes the line pick up from the point it reenters the canvas.

3) I added a brush size slider and subsequently had to add a mask to the canvas so when the bigger brush sizes are close to the edge they didn&#039;t bleed outside.

4) In the mouse down handler I draw a filled circle at the point of the mouse click so you can add points by just clicking on the canvas (no need to drag the mouse).

Thanks again for the great post, it has been a wonderful help.</description>
		<content:encoded><![CDATA[<p>Hey James, thanks for the reply.  I changed some of the code and figured I&#8217;d post my methods back here since so many people read this blog.</p>
<p>1) in the mousedown event handler I added a stage event handler for mouse up.  In the stage mouse up handler I simply remove the handler and set drawing=false.  This fixed the problem where if you release the mouse outside of the canvas it keeps drawing inside the canvas.</p>
<p>2) As per your advice, in the mouse out handler I de-register the mouse move handler and in the mouse over handler I re-register the mouse move handler and reset the x &amp; y coordinates.  This makes the line pick up from the point it reenters the canvas.</p>
<p>3) I added a brush size slider and subsequently had to add a mask to the canvas so when the bigger brush sizes are close to the edge they didn&#8217;t bleed outside.</p>
<p>4) In the mouse down handler I draw a filled circle at the point of the mouse click so you can add points by just clicking on the canvas (no need to drag the mouse).</p>
<p>Thanks again for the great post, it has been a wonderful help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/08/16/flex-paint-flex-display-object-to-png/comment-page-2/#comment-157457</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Mon, 15 Jun 2009 23:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/?p=66#comment-157457</guid>
		<description>Hi Greg,

You can catch a mouseOut event to handle that.

-James</description>
		<content:encoded><![CDATA[<p>Hi Greg,</p>
<p>You can catch a mouseOut event to handle that.</p>
<p>-James</p>
]]></content:encoded>
	</item>
</channel>
</rss>
