<?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: Dynamically Create an Image in Flash and Save it to the Desktop or Server</title>
	<atom:link href="http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/</link>
	<description>The personal writings &#38; experiments of Stephen Braitsch</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:15:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Albert</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-459</link>
		<dc:creator>Albert</dc:creator>
		<pubDate>Wed, 01 Feb 2012 23:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-459</guid>
		<description>I&#039;m trying to open the .fla file included in the whole package but I get &quot;unexpected file format&quot;. I&#039;m using flash CS4. please, do you know what the problem may be? thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to open the .fla file included in the whole package but I get &#8220;unexpected file format&#8221;. I&#8217;m using flash CS4. please, do you know what the problem may be? thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry LePage</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-447</link>
		<dc:creator>Jerry LePage</dc:creator>
		<pubDate>Tue, 13 Dec 2011 10:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-447</guid>
		<description>Hi again .. been a few months and ive just discovered a new problem .. has anyone had an issue with this working in IE browsers ...

ive run this in FF, Chrome and even safari .. all worked fine as it should ..
but once I use IE it only produces a fully transparent png .. nothing else. it is the proper dimensions but it omits any of the image data .

??</description>
		<content:encoded><![CDATA[<p>Hi again .. been a few months and ive just discovered a new problem .. has anyone had an issue with this working in IE browsers &#8230;</p>
<p>ive run this in FF, Chrome and even safari .. all worked fine as it should ..<br />
but once I use IE it only produces a fully transparent png .. nothing else. it is the proper dimensions but it omits any of the image data .</p>
<p>??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-426</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Thu, 08 Sep 2011 12:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-426</guid>
		<description>Hey guys!
Thanks for this tutorial!
It works fine for me, I can save the movieclip on desktop, when I try to save on the server I get no error, the output say that it was saved, but when I open the folder on server the image isn&#039;t there, do you know how to fix it?
Thanks! =)</description>
		<content:encoded><![CDATA[<p>Hey guys!<br />
Thanks for this tutorial!<br />
It works fine for me, I can save the movieclip on desktop, when I try to save on the server I get no error, the output say that it was saved, but when I open the folder on server the image isn&#8217;t there, do you know how to fix it?<br />
Thanks! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-424</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Fri, 12 Aug 2011 16:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-424</guid>
		<description>PHP has a built in file_exists() you can use to prevent overwriting the first saved image. You can read more about it here : http://php.net/manual/en/function.file-exists.php</description>
		<content:encoded><![CDATA[<p>PHP has a built in file_exists() you can use to prevent overwriting the first saved image. You can read more about it here : <a href="http://php.net/manual/en/function.file-exists.php" rel="nofollow">http://php.net/manual/en/function.file-exists.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joren</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-423</link>
		<dc:creator>Joren</dc:creator>
		<pubDate>Fri, 12 Aug 2011 10:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-423</guid>
		<description>Found it for those who are interested! :) Just replace the text in upload.php to this:





Cheers!</description>
		<content:encoded><![CDATA[<p>Found it for those who are interested! <img src='http://www.quietless.com/kitchen/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Just replace the text in upload.php to this:</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joren</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-422</link>
		<dc:creator>Joren</dc:creator>
		<pubDate>Thu, 11 Aug 2011 19:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-422</guid>
		<description>Hi, 

I&#039;d like to save multiple files on the server. Now the php script overwrites the other images on the server. Is there anyone who knows the answer to check if the image already exists on the server and if yes, simply add a &quot;1&quot;, &quot;2&quot; and so on after the image&#039;s name.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I&#8217;d like to save multiple files on the server. Now the php script overwrites the other images on the server. Is there anyone who knows the answer to check if the image already exists on the server and if yes, simply add a &#8220;1&#8243;, &#8220;2&#8243; and so on after the image&#8217;s name.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-414</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 10 Jun 2011 22:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-414</guid>
		<description>TRANSPARENCY FIX:

in BitmapSnapshot.as, change

var bmd:BitmapData = new BitmapData($width &#124;&#124; $targ.width, $height &#124;&#124; $targ.height);

to

var bmd:BitmapData = new BitmapData($width &#124;&#124; $targ.width, $height &#124;&#124; $targ.height, true, 0);</description>
		<content:encoded><![CDATA[<p>TRANSPARENCY FIX:</p>
<p>in BitmapSnapshot.as, change</p>
<p>var bmd:BitmapData = new BitmapData($width || $targ.width, $height || $targ.height);</p>
<p>to</p>
<p>var bmd:BitmapData = new BitmapData($width || $targ.width, $height || $targ.height, true, 0);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-413</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 10 Jun 2011 20:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-413</guid>
		<description>Has anyone figured out how to get the balls to have a transparent background when saved out as a png?</description>
		<content:encoded><![CDATA[<p>Has anyone figured out how to get the balls to have a transparent background when saved out as a png?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Lepage</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-406</link>
		<dc:creator>Jerry Lepage</dc:creator>
		<pubDate>Fri, 20 May 2011 16:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-406</guid>
		<description>Props m8, Great stuff here and very well done. What I learned here will be Very valuable indeed.

I have run into another issue and Similar to a few other posts. 
This issue is with transparency&#039;s when saving out as a png. 

No matter how I set up my _canvas, it wants to add the flash stage color as the Background color to the image saved out. 

Any advice on this would be greatly appreciated. 
And Thanks again !!</description>
		<content:encoded><![CDATA[<p>Props m8, Great stuff here and very well done. What I learned here will be Very valuable indeed.</p>
<p>I have run into another issue and Similar to a few other posts.<br />
This issue is with transparency&#8217;s when saving out as a png. </p>
<p>No matter how I set up my _canvas, it wants to add the flash stage color as the Background color to the image saved out. </p>
<p>Any advice on this would be greatly appreciated.<br />
And Thanks again !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-403</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Fri, 20 May 2011 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-403</guid>
		<description>Apologies to you guys, the .zip was missing the BitString class as a few of you have pointed out. I just updated the package with the missing file and added a .fla file so you should be able to just unpack the .zip, compile the .fla and have everything work. Continue to post comments here if you run into problems.</description>
		<content:encoded><![CDATA[<p>Apologies to you guys, the .zip was missing the BitString class as a few of you have pointed out. I just updated the package with the missing file and added a .fla file so you should be able to just unpack the .zip, compile the .fla and have everything work. Continue to post comments here if you run into problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Lepage</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-401</link>
		<dc:creator>Jerry Lepage</dc:creator>
		<pubDate>Thu, 19 May 2011 23:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-401</guid>
		<description>the full error im getting is actually

JPGEncoder.as, Line239       1046: Type was not found or was not a compile-time constant: BitString.

which is a function definition on line 239 this is the code snippet in question &gt;  private function writeBits(bs:BitString):void{ 

what am I doing wrong ? or where is the class definition for BitString..</description>
		<content:encoded><![CDATA[<p>the full error im getting is actually</p>
<p>JPGEncoder.as, Line239       1046: Type was not found or was not a compile-time constant: BitString.</p>
<p>which is a function definition on line 239 this is the code snippet in question &gt;  private function writeBits(bs:BitString):void{ </p>
<p>what am I doing wrong ? or where is the class definition for BitString..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Lepage</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-400</link>
		<dc:creator>Jerry Lepage</dc:creator>
		<pubDate>Thu, 19 May 2011 23:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-400</guid>
		<description>I seem to be missing a file to get this to work as flash throws up this error to me.

1046: Type was not found or was not a compile-time constant: BitString.</description>
		<content:encoded><![CDATA[<p>I seem to be missing a file to get this to work as flash throws up this error to me.</p>
<p>1046: Type was not found or was not a compile-time constant: BitString.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-399</link>
		<dc:creator>Duane</dc:creator>
		<pubDate>Fri, 13 May 2011 03:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-399</guid>
		<description>Hi I am not a flash programmer just a person who gets things done I was wondering if you have the actual flash file I could look at to try and work backwards. I simply need to be able to save a simple jpeg or png.

Thank you</description>
		<content:encoded><![CDATA[<p>Hi I am not a flash programmer just a person who gets things done I was wondering if you have the actual flash file I could look at to try and work backwards. I simply need to be able to save a simple jpeg or png.</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xhaoh</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-393</link>
		<dc:creator>Xhaoh</dc:creator>
		<pubDate>Sun, 17 Apr 2011 23:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-393</guid>
		<description>Hey, This tutorial seems like something I&#039;m after but I can&#039;t understand how to use it.

I&#039;m trying to use your BitmapSnapshot and saveToDesktop. In my project, I upload an image to my server which then displays in my Swf in a MovieClip. Can I use your BitmapSnapshot and saveToDesktop?

Sorry, I&#039;m a bit of a noob at this stuff... xD

The MovieClip in question is called &quot;img_mc&quot;, which I guess is my DisplayObject.</description>
		<content:encoded><![CDATA[<p>Hey, This tutorial seems like something I&#8217;m after but I can&#8217;t understand how to use it.</p>
<p>I&#8217;m trying to use your BitmapSnapshot and saveToDesktop. In my project, I upload an image to my server which then displays in my Swf in a MovieClip. Can I use your BitmapSnapshot and saveToDesktop?</p>
<p>Sorry, I&#8217;m a bit of a noob at this stuff&#8230; xD</p>
<p>The MovieClip in question is called &#8220;img_mc&#8221;, which I guess is my DisplayObject.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: things about child abuse</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-390</link>
		<dc:creator>things about child abuse</dc:creator>
		<pubDate>Sat, 09 Apr 2011 02:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-390</guid>
		<description>You&#039;re so awesome! I do not suppose Ive learn anything such as this previously. So interesting to search out person with several initial ideas on this particular subject. realy thanks just for starting this up. this page is something is helpful on the internet, anyone with a little creativity. beneficial position for bringing something which new to the internet!</description>
		<content:encoded><![CDATA[<p>You&#8217;re so awesome! I do not suppose Ive learn anything such as this previously. So interesting to search out person with several initial ideas on this particular subject. realy thanks just for starting this up. this page is something is helpful on the internet, anyone with a little creativity. beneficial position for bringing something which new to the internet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bluebyte</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-386</link>
		<dc:creator>bluebyte</dc:creator>
		<pubDate>Fri, 18 Mar 2011 12:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-386</guid>
		<description>hi, thank u so much for for this usefull class.

I m wondering how to catch the &quot;complete&quot;  event, that i could load generated image once its creation complete.

maybe u could help on this</description>
		<content:encoded><![CDATA[<p>hi, thank u so much for for this usefull class.</p>
<p>I m wondering how to catch the &#8220;complete&#8221;  event, that i could load generated image once its creation complete.</p>
<p>maybe u could help on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavi</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-384</link>
		<dc:creator>Xavi</dc:creator>
		<pubDate>Mon, 14 Mar 2011 12:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-384</guid>
		<description>This is not working, BitString doesn&#039;t exist anymore. Any alternative solution?</description>
		<content:encoded><![CDATA[<p>This is not working, BitString doesn&#8217;t exist anymore. Any alternative solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave marr</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-380</link>
		<dc:creator>dave marr</dc:creator>
		<pubDate>Thu, 17 Feb 2011 01:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-380</guid>
		<description>Any one have this working with flash player 10.2? i think adobe might have broken it :(</description>
		<content:encoded><![CDATA[<p>Any one have this working with flash player 10.2? i think adobe might have broken it <img src='http://www.quietless.com/kitchen/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-362</link>
		<dc:creator>Richie</dc:creator>
		<pubDate>Fri, 10 Dec 2010 07:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-362</guid>
		<description>Any reply to the last comment / help ? =)</description>
		<content:encoded><![CDATA[<p>Any reply to the last comment / help ? =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-359</link>
		<dc:creator>Richie</dc:creator>
		<pubDate>Sat, 04 Dec 2010 20:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-359</guid>
		<description>Dear Stephen,

The jpg compression line is here in the BitmapSnapshot class?  

 if (ext==&#039;jpg&#039;) _image = new JPGEncoder(80).encode(bmd); 

I saw a line for png as well :

 if (ext==&#039;png&#039;) _image = PNGEncoder.encode(bmd);

Is there any compression for PNG?

I tried saving a PNG transparent.. Ill upload an image with transparencies which show up fine in Flash, then when saving, the transparency has been replaced with white.  Does this have something to do with the mask?  What does the mask serve for by the way that is passed as an argument when saving the image?

I also checked whether the image&#039;s bitmapData is transparent: trace(&quot;transparent: &quot;, image.bitmapData.transparent); 

Whenever I uploaded a .gif or .png, it came up as true, and .jpg came up as false, as expect.  So when I bring .png images that are transparent into flash, the parts that are transparent still show up transparent in flash, but when saving it as PNG it comes up with a white background instead of the transparent areas.  Any help on that , if you are aware of what could be the cause?  Thanks!</description>
		<content:encoded><![CDATA[<p>Dear Stephen,</p>
<p>The jpg compression line is here in the BitmapSnapshot class?  </p>
<p> if (ext==&#8217;jpg&#8217;) _image = new JPGEncoder(80).encode(bmd); </p>
<p>I saw a line for png as well :</p>
<p> if (ext==&#8217;png&#8217;) _image = PNGEncoder.encode(bmd);</p>
<p>Is there any compression for PNG?</p>
<p>I tried saving a PNG transparent.. Ill upload an image with transparencies which show up fine in Flash, then when saving, the transparency has been replaced with white.  Does this have something to do with the mask?  What does the mask serve for by the way that is passed as an argument when saving the image?</p>
<p>I also checked whether the image&#8217;s bitmapData is transparent: trace(&#8220;transparent: &#8220;, image.bitmapData.transparent); </p>
<p>Whenever I uploaded a .gif or .png, it came up as true, and .jpg came up as false, as expect.  So when I bring .png images that are transparent into flash, the parts that are transparent still show up transparent in flash, but when saving it as PNG it comes up with a white background instead of the transparent areas.  Any help on that , if you are aware of what could be the cause?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-358</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Sat, 04 Dec 2010 19:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-358</guid>
		<description>By default BitmapSnapshot writes to a png which supports transparency. You can also write to a jpeg by passing in &quot;MyImage.jpg&quot; as the second argument in the constructor. Inside the BitmapSnapshot class you can set the jpg compression to anything you want. It defaults to 80%. Gif&#039;s are not supported.</description>
		<content:encoded><![CDATA[<p>By default BitmapSnapshot writes to a png which supports transparency. You can also write to a jpeg by passing in &#8220;MyImage.jpg&#8221; as the second argument in the constructor. Inside the BitmapSnapshot class you can set the jpg compression to anything you want. It defaults to 80%. Gif&#8217;s are not supported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-356</link>
		<dc:creator>Richie</dc:creator>
		<pubDate>Sat, 04 Dec 2010 10:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-356</guid>
		<description>Three questions:

1) Is there a way to keep the transparency of the image while saving the image to the server?

2) Is there a way to have a lower quality version for a lower filesize?  (for instance, a setting of 10 would be highest quality with most filesize saved, and a setting of 1 would be lowest quality with lowest filesize saved, get what I mean?)

3) Is there a way to save as .gif?  This is not as important however as the other two.  The other two are a must for me.  

If you can help me with this, please let me know.. you can contact me at my site at http://www.theothersun.com or at the email I entered into the comment.  Thanks!</description>
		<content:encoded><![CDATA[<p>Three questions:</p>
<p>1) Is there a way to keep the transparency of the image while saving the image to the server?</p>
<p>2) Is there a way to have a lower quality version for a lower filesize?  (for instance, a setting of 10 would be highest quality with most filesize saved, and a setting of 1 would be lowest quality with lowest filesize saved, get what I mean?)</p>
<p>3) Is there a way to save as .gif?  This is not as important however as the other two.  The other two are a must for me.  </p>
<p>If you can help me with this, please let me know.. you can contact me at my site at <a href="http://www.theothersun.com" rel="nofollow">http://www.theothersun.com</a> or at the email I entered into the comment.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-351</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Wed, 10 Nov 2010 16:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-351</guid>
		<description>1. Ensure you have write permission on the destination folder.
2. Ensure you are running php5, otherwise part of the server script will fail.</description>
		<content:encoded><![CDATA[<p>1. Ensure you have write permission on the destination folder.<br />
2. Ensure you are running php5, otherwise part of the server script will fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-350</link>
		<dc:creator>Marko</dc:creator>
		<pubDate>Wed, 10 Nov 2010 13:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-350</guid>
		<description>Oh, I forgot to mention. This is for save to server.
When instead of saving to the server I try saving on my computer everything goes well and the image is there.</description>
		<content:encoded><![CDATA[<p>Oh, I forgot to mention. This is for save to server.<br />
When instead of saving to the server I try saving on my computer everything goes well and the image is there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-349</link>
		<dc:creator>Marko</dc:creator>
		<pubDate>Wed, 10 Nov 2010 13:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-349</guid>
		<description>Hi, I was looking for something like this.
But I have a problem. By the looks of things averything goes great, I even get &#039;Upload of image.png was successful&#039;, but when I look at the folder the image is supposed to be in, there is nothing there. I&#039;ve tried delaying image upload from the point when the snapshot is been taken, but no result. 
What could be the problem?</description>
		<content:encoded><![CDATA[<p>Hi, I was looking for something like this.<br />
But I have a problem. By the looks of things averything goes great, I even get &#8216;Upload of image.png was successful&#8217;, but when I look at the folder the image is supposed to be in, there is nothing there. I&#8217;ve tried delaying image upload from the point when the snapshot is been taken, but no result.<br />
What could be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a_l_e</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-340</link>
		<dc:creator>a_l_e</dc:creator>
		<pubDate>Fri, 17 Sep 2010 14:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-340</guid>
		<description>ok, I realize that it is a flex project!! ^^</description>
		<content:encoded><![CDATA[<p>ok, I realize that it is a flex project!! ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a_l_e</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-339</link>
		<dc:creator>a_l_e</dc:creator>
		<pubDate>Fri, 17 Sep 2010 13:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-339</guid>
		<description>Hi Stephen, great tutorial but, why files do not include the fla? how can I compile it?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Stephen, great tutorial but, why files do not include the fla? how can I compile it?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohanad</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-337</link>
		<dc:creator>Mohanad</dc:creator>
		<pubDate>Thu, 09 Sep 2010 06:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-337</guid>
		<description>Hey!
First i have to say - Thanks a lot for sharing this info!
But as a beginner in flash - and as a person that is in need of this kind of info - this tutorial is just too advanced for me to understand!

Can you please record the procedure for using this class? What i&#039;m struggling with is what to change and what to not change....

You can use this great and free software to record the steps: http://camstudio.org/ - You don&#039;t really need to record any audio!

You can use those settings in camstudio for best quality...: http://www.youtube.com/watch?v=jnxadwJWY2M

It&#039;ll be really great if you can record the procedure, I&#039;m very sure that many beginners in Flash wil be happy! :)</description>
		<content:encoded><![CDATA[<p>Hey!<br />
First i have to say &#8211; Thanks a lot for sharing this info!<br />
But as a beginner in flash &#8211; and as a person that is in need of this kind of info &#8211; this tutorial is just too advanced for me to understand!</p>
<p>Can you please record the procedure for using this class? What i&#8217;m struggling with is what to change and what to not change&#8230;.</p>
<p>You can use this great and free software to record the steps: <a href="http://camstudio.org/" rel="nofollow">http://camstudio.org/</a> &#8211; You don&#8217;t really need to record any audio!</p>
<p>You can use those settings in camstudio for best quality&#8230;: <a href="http://www.youtube.com/watch?v=jnxadwJWY2M" rel="nofollow">http://www.youtube.com/watch?v=jnxadwJWY2M</a></p>
<p>It&#8217;ll be really great if you can record the procedure, I&#8217;m very sure that many beginners in Flash wil be happy! <img src='http://www.quietless.com/kitchen/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: syaam</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-304</link>
		<dc:creator>syaam</dc:creator>
		<pubDate>Thu, 27 May 2010 11:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-304</guid>
		<description>Hi,
I want to take snapshot of movie clip..There may be some objects will be placed on top of movie clip..Still that snapshot should capture anything on that movie clip..

Actually write a code to save a movie clip as image which saves contents(only childs of movie clip) of movie clip.. But i want it to save as anything has seen on movie clip must be saved as image..

Do u have any pointers regarding that?


Thanks in advance,
syaam</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to take snapshot of movie clip..There may be some objects will be placed on top of movie clip..Still that snapshot should capture anything on that movie clip..</p>
<p>Actually write a code to save a movie clip as image which saves contents(only childs of movie clip) of movie clip.. But i want it to save as anything has seen on movie clip must be saved as image..</p>
<p>Do u have any pointers regarding that?</p>
<p>Thanks in advance,<br />
syaam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-279</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Sat, 27 Mar 2010 18:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-279</guid>
		<description>Hi Stephen, Thank you for your help. Where exactly do I pass in a new width and height? Have a great Day! Lisa</description>
		<content:encoded><![CDATA[<p>Hi Stephen, Thank you for your help. Where exactly do I pass in a new width and height? Have a great Day! Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-277</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Fri, 26 Mar 2010 17:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-277</guid>
		<description>@jordan. I&#039;m just attaching a few hundred circles to the screen inside of a for loop and placing them on the stage at random x &amp; y positions. Look at the draw function inside Canvas.as. As for recording the screen you could try making a copy of the graphics object you are drawing into and then pushing that copy into an array on some timer event or enterframe handler. Then iterate over that array to redraw your animation on playback. This can get expensive in terms of memory fast but it is just one approach off the top of my head.</description>
		<content:encoded><![CDATA[<p>@jordan. I&#8217;m just attaching a few hundred circles to the screen inside of a for loop and placing them on the stage at random x &#038; y positions. Look at the draw function inside Canvas.as. As for recording the screen you could try making a copy of the graphics object you are drawing into and then pushing that copy into an array on some timer event or enterframe handler. Then iterate over that array to redraw your animation on playback. This can get expensive in terms of memory fast but it is just one approach off the top of my head.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-276</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Thu, 25 Mar 2010 20:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-276</guid>
		<description>This is really cool - I am trying to develop a drawing app that can save images.

How did you get those circles to redraw in real time? It that just a particle effect?

I am trying to make it so that the user can replay the drawing as well. So if they draw a smiley face, they can see it redrawn after they have finished.

any thoughts?</description>
		<content:encoded><![CDATA[<p>This is really cool &#8211; I am trying to develop a drawing app that can save images.</p>
<p>How did you get those circles to redraw in real time? It that just a particle effect?</p>
<p>I am trying to make it so that the user can replay the drawing as well. So if they draw a smiley face, they can see it redrawn after they have finished.</p>
<p>any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-275</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Wed, 24 Mar 2010 19:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-275</guid>
		<description>There are a near infinite number of reasons why your attempt to save to server may be failing.

Some things to consider:

1. Ensure you have write permissions on the target server directory (chmod 777)
2. Ensure the path to the php script (upload.php) on your server is correct. 
3. Ensure you&#039;re not trying to save the image before Flash has created it from your target MovieClip.
4. Use an HTTP sniffer like Charles, Firebug or the activity monitor in Safari to check what is being sent to your server.</description>
		<content:encoded><![CDATA[<p>There are a near infinite number of reasons why your attempt to save to server may be failing.</p>
<p>Some things to consider:</p>
<p>1. Ensure you have write permissions on the target server directory (chmod 777)<br />
2. Ensure the path to the php script (upload.php) on your server is correct.<br />
3. Ensure you&#8217;re not trying to save the image before Flash has created it from your target MovieClip.<br />
4. Use an HTTP sniffer like Charles, Firebug or the activity monitor in Safari to check what is being sent to your server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-274</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Wed, 24 Mar 2010 18:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-274</guid>
		<description>Yes, write permissions are good. I sent you an email at your @quietless.com. Do you think you may have time to respond there? I appreciate your response...Thank you, Lisa</description>
		<content:encoded><![CDATA[<p>Yes, write permissions are good. I sent you an email at your @quietless.com. Do you think you may have time to respond there? I appreciate your response&#8230;Thank you, Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-273</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Wed, 24 Mar 2010 18:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-273</guid>
		<description>Ensure you have write permissions on the server directory you are attempting to save to otherwise this will fail.</description>
		<content:encoded><![CDATA[<p>Ensure you have write permissions on the server directory you are attempting to save to otherwise this will fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-269</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Tue, 23 Mar 2010 18:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-269</guid>
		<description>Excellent tutorial. Great information.  For the save on server...I get the &quot;FILE UPLOAD FAILED&quot; error. I could use your assistance in helping me to understand what I need to think and do to render a working version…Look forward to your response. Have an amazing day and Thank you! Lisa</description>
		<content:encoded><![CDATA[<p>Excellent tutorial. Great information.  For the save on server&#8230;I get the &#8220;FILE UPLOAD FAILED&#8221; error. I could use your assistance in helping me to understand what I need to think and do to render a working version…Look forward to your response. Have an amazing day and Thank you! Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-259</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Mon, 22 Feb 2010 21:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-259</guid>
		<description>Where did you get BitmapSnapshot class can&#039;t see how to import it?</description>
		<content:encoded><![CDATA[<p>Where did you get BitmapSnapshot class can&#8217;t see how to import it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J.F. Herrera</title>
		<link>http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/comment-page-1/#comment-158</link>
		<dc:creator>J.F. Herrera</dc:creator>
		<pubDate>Wed, 30 Dec 2009 22:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=321#comment-158</guid>
		<description>Excellent tutorial. This is by far the best tutorial on saving to a sever, I&#039;ve found. Keep up the great work.</description>
		<content:encoded><![CDATA[<p>Excellent tutorial. This is by far the best tutorial on saving to a sever, I&#8217;ve found. Keep up the great work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

