<?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: Access Webcam with Flash</title>
	<atom:link href="http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/</link>
	<description>Some helpful tutorials</description>
	<lastBuildDate>Fri, 15 Jan 2010 08:40:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Doing cool stuff with Flash</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-178</link>
		<dc:creator>Doing cool stuff with Flash</dc:creator>
		<pubDate>Fri, 14 Aug 2009 22:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-178</guid>
		<description>[...] Taking pictures with the web cam [...]</description>
		<content:encoded><![CDATA[<p>[...] Taking pictures with the web cam [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmussel</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-79</link>
		<dc:creator>kmussel</dc:creator>
		<pubDate>Wed, 22 Apr 2009 14:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-79</guid>
		<description>&lt;a href=&quot;#comment-77&quot; rel=&quot;nofollow&quot;&gt;@kev&lt;/a&gt; 
in the listener.onComplete event in result_lv.onData the &#039;src&#039; in this case would be the name of the file.  whatever you echo out in the file will be returned in this variable.</description>
		<content:encoded><![CDATA[<p><a href="#comment-77" rel="nofollow">@kev</a><br />
in the listener.onComplete event in result_lv.onData the &#8217;src&#8217; in this case would be the name of the file.  whatever you echo out in the file will be returned in this variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kev</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-77</link>
		<dc:creator>kev</dc:creator>
		<pubDate>Wed, 22 Apr 2009 02:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-77</guid>
		<description>i created a unique filename by adding time() to the filename.... how do i pass this unique filename to flash, so i can use loadmovie to import the jpg? thanks!

heres the php
$fp = fopen(&quot;images/name&quot;.time().&quot;.jpg&quot;, &quot;w&quot;);
ob_start();
imagejpeg($img, &quot;&quot;, 90);
$img = ob_get_contents();
ob_end_clean();
fwrite($fp, $img);
$my_string = 
echo &quot;name&quot;.time().&quot;.jpg&quot;;
exit;
?&gt;</description>
		<content:encoded><![CDATA[<p>i created a unique filename by adding time() to the filename&#8230;. how do i pass this unique filename to flash, so i can use loadmovie to import the jpg? thanks!</p>
<p>heres the php<br />
$fp = fopen(&#8221;images/name&#8221;.time().&#8221;.jpg&#8221;, &#8220;w&#8221;);<br />
ob_start();<br />
imagejpeg($img, &#8220;&#8221;, 90);<br />
$img = ob_get_contents();<br />
ob_end_clean();<br />
fwrite($fp, $img);<br />
$my_string =<br />
echo &#8220;name&#8221;.time().&#8221;.jpg&#8221;;<br />
exit;<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmussel</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-43</link>
		<dc:creator>kmussel</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-43</guid>
		<description>&lt;a href=&quot;#comment-42&quot; rel=&quot;nofollow&quot;&gt;@Bobby&lt;/a&gt; 
well if it&#039;s not event creating a file then fopen is failing so I would check your folder permissions.</description>
		<content:encoded><![CDATA[<p><a href="#comment-42" rel="nofollow">@Bobby</a><br />
well if it&#8217;s not event creating a file then fopen is failing so I would check your folder permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-42</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-42</guid>
		<description>Tnx, but I already did that. I basically added that part of the script to your php. This is the last part:

$filename = &quot;name.jpg&quot;
$fp = fopen(&quot;images/$filename&quot;, &quot;w&quot;);
ob_start();
imagejpeg($img, &quot;&quot;, 90);
$img = ob_get_contents();
ob_end_clean();
fwrite($fp, $img);
fclose($fp)
exit;

Yet... still not working. Am I missing a small detail?</description>
		<content:encoded><![CDATA[<p>Tnx, but I already did that. I basically added that part of the script to your php. This is the last part:</p>
<p>$filename = &#8220;name.jpg&#8221;<br />
$fp = fopen(&#8221;images/$filename&#8221;, &#8220;w&#8221;);<br />
ob_start();<br />
imagejpeg($img, &#8220;&#8221;, 90);<br />
$img = ob_get_contents();<br />
ob_end_clean();<br />
fwrite($fp, $img);<br />
fclose($fp)<br />
exit;</p>
<p>Yet&#8230; still not working. Am I missing a small detail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmussel</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-41</link>
		<dc:creator>kmussel</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-41</guid>
		<description>&lt;a href=&quot;#comment-32&quot; rel=&quot;nofollow&quot;&gt;@aleko205&lt;/a&gt; 
i did it to see a mirrored image. if you dont want it mirrored you don’t need to take the inverse of the xscale. Also, take out the “if” statement dealing with the Matrix class inside the “take.onRelease” function.</description>
		<content:encoded><![CDATA[<p><a href="#comment-32" rel="nofollow">@aleko205</a><br />
i did it to see a mirrored image. if you dont want it mirrored you don’t need to take the inverse of the xscale. Also, take out the “if” statement dealing with the Matrix class inside the “take.onRelease” function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmussel</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-40</link>
		<dc:creator>kmussel</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-40</guid>
		<description>&lt;a href=&quot;#comment-38&quot; rel=&quot;nofollow&quot;&gt;@Bobby&lt;/a&gt; 
Well that is just going to open up a file for writing. You then need to  
call this function &quot;fwrite($fp, $binary_data)&quot; and then close it with &quot;close($fp)&quot;</description>
		<content:encoded><![CDATA[<p><a href="#comment-38" rel="nofollow">@Bobby</a><br />
Well that is just going to open up a file for writing. You then need to<br />
call this function &#8220;fwrite($fp, $binary_data)&#8221; and then close it with &#8220;close($fp)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-38</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-38</guid>
		<description>Any idea why this doesn&#039;t work in the PHP:

$filename = &quot;name.jpg&quot;
$fp = fopen(&quot;images/$filename&quot;, &quot;w&quot;);

It doesn&#039;t seem to save anything.</description>
		<content:encoded><![CDATA[<p>Any idea why this doesn&#8217;t work in the PHP:</p>
<p>$filename = &#8220;name.jpg&#8221;<br />
$fp = fopen(&#8221;images/$filename&#8221;, &#8220;w&#8221;);</p>
<p>It doesn&#8217;t seem to save anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-34</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 26 Mar 2009 12:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-34</guid>
		<description>Hi Kevin,
the link to the site is http://5050box.com/hands.

Thanks again, your code saved me a few hours! ;)

Cheers
Daniel</description>
		<content:encoded><![CDATA[<p>Hi Kevin,<br />
the link to the site is <a href="http://5050box.com/hands" rel="nofollow">http://5050box.com/hands</a>.</p>
<p>Thanks again, your code saved me a few hours! <img src='http://kevinmusselman.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aleko205</title>
		<link>http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/comment-page-1/#comment-32</link>
		<dc:creator>aleko205</dc:creator>
		<pubDate>Thu, 26 Mar 2009 08:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://kevinmusselman.com/blog/?p=25#comment-32</guid>
		<description>hi, is very nice by why is the video image flip(ed) horizontal? left side is right and right side is left.
What I can do it?</description>
		<content:encoded><![CDATA[<p>hi, is very nice by why is the video image flip(ed) horizontal? left side is right and right side is left.<br />
What I can do it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
