<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: i gotta get digivideowebificated!</title>
      <link>http://ask.metafilter.com/77546/i-gotta-get-digivideowebificated/</link>
      <description>Comments on Ask MetaFilter post i gotta get digivideowebificated!</description>
	  	  <pubDate>Fri, 30 Nov 2007 21:17:50 -0800</pubDate>
      <lastBuildDate>Fri, 30 Nov 2007 21:17:50 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: i gotta get digivideowebificated!</title>
  	<link>http://ask.metafilter.com/77546/i-gotta-get-digivideowebificated</link>	
  	<description>I&apos;m trying to get the local webcam to stream to the stage on Flash CS3 actionscript3.  When I run it, I get a blank screen and no errors.  Any help at all would be appreciated.

Here is my code so far:

import flash.system.SecurityPanel;

Security.showSettings(SecurityPanel.CAMERA);

var cam:Camera = Camera.getCamera(name);
var vid:Video = new Video();
vid.attachCamera(cam);
stage.addChild(vid);

Thanks! &lt;br /&gt;&lt;br /&gt; &lt;small&gt;Posted for a friend. &lt;small&gt; I don&apos;t really know what any of this means. &lt;/small&gt;&lt;/small&gt;</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2007:site.77546</guid>
  	<pubDate>Fri, 30 Nov 2007 20:39:08 -0800</pubDate>
  	<dc:creator>univac</dc:creator>
	
	<category>webcam</category>
	
	<category>flash</category>
	
	<category>stream</category>
	
	<category>actionscript</category>
	
</item>
<item>
  	<title>By: grumblebee</title>
  	<link>http://ask.metafilter.com/77546/i-gotta-get-digivideowebificated#1152061</link>	
  	<description>This works for me:&lt;br&gt;
&lt;br&gt;
import flash.system.SecurityPanel; &lt;br&gt;
Security.showSettings(SecurityPanel.CAMERA); &lt;br&gt;
var cam:Camera = Camera.getCamera(); &lt;br&gt;
var vid:Video = new Video(); &lt;br&gt;
vid.attachCamera(cam); &lt;br&gt;
addChild(vid);&lt;br&gt;
&lt;br&gt;
My only change was to remove name from the third line. I&apos;m not sure what &amp;quot;name&amp;quot; was doing there in your code.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.77546-1152061</guid>
  	<pubDate>Fri, 30 Nov 2007 21:17:50 -0800</pubDate>
  	<dc:creator>grumblebee</dc:creator>
</item>
<item>
  	<title>By: klanawa</title>
  	<link>http://ask.metafilter.com/77546/i-gotta-get-digivideowebificated#1152107</link>	
  	<description>the name property should befrom the array of strings returned by Camera.names. Leave it out entirely to get the default camera.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.77546-1152107</guid>
  	<pubDate>Fri, 30 Nov 2007 23:27:34 -0800</pubDate>
  	<dc:creator>klanawa</dc:creator>
</item>
<item>
  	<title>By: grumblebee</title>
  	<link>http://ask.metafilter.com/77546/i-gotta-get-digivideowebificated#1152289</link>	
  	<description>I don&apos;t get the default camera when I run that script. I get a security window that allows me to choose which camera I want to use.&lt;br&gt;
&lt;br&gt;
On my macbook, the dropdown contain three cameras. I&apos;m not sure why. I only have one attached and have never installed any others. Maybe those three are hardcoded into the dropdown. And the one that&apos;s chosen by default doesn&apos;t work for me. I have to choose another one to get it working.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.77546-1152289</guid>
  	<pubDate>Sat, 01 Dec 2007 07:43:14 -0800</pubDate>
  	<dc:creator>grumblebee</dc:creator>
</item>

    </channel>
</rss>
