<?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>Kommentare zu: ActionScript 3: haXe Compiler</title>
	<atom:link href="http://www.video-flash.de/index/actionscript-3-haxe-compiler/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/</link>
	<description>Alles rund um Web &#38; Mobile</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:01:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Von: flo</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-26313</link>
		<dc:creator>flo</dc:creator>
		<pubDate>Sun, 21 Mar 2010 17:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-26313</guid>
		<description>Mh, kann ich leider nicht weiterhelfen.</description>
		<content:encoded><![CDATA[<p>Mh, kann ich leider nicht weiterhelfen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Iso5786</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-26312</link>
		<dc:creator>Iso5786</dc:creator>
		<pubDate>Sun, 21 Mar 2010 17:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-26312</guid>
		<description>Hi,
beschäftige mich gerade ein wenig mit Haxe und wollte das obige Beispiel mal bei mir ausprobieren. Leider bekomm ich das Eclipse plugin nirgendwo mehr her und habs dann mal so auf der Kommandozeile versucht. Wenn ich jedoch die Webcam.hx compilieren möchte, bekomme ich folgende Fehlermeldung:
/usr/lib/haxe/std/Webcam.hx:5: characters 0-28 : Class not found : flash.display.Sprite
Liegt das evtl. daran, dass ne environment variable nicht gut gesetzt ist, oder muss man noch irgendwo her die Flash API runterladen und die mit einbinden?
Gruß, Iso5786</description>
		<content:encoded><![CDATA[<p>Hi,<br />
beschäftige mich gerade ein wenig mit Haxe und wollte das obige Beispiel mal bei mir ausprobieren. Leider bekomm ich das Eclipse plugin nirgendwo mehr her und habs dann mal so auf der Kommandozeile versucht. Wenn ich jedoch die Webcam.hx compilieren möchte, bekomme ich folgende Fehlermeldung:<br />
/usr/lib/haxe/std/Webcam.hx:5: characters 0-28 : Class not found : flash.display.Sprite<br />
Liegt das evtl. daran, dass ne environment variable nicht gut gesetzt ist, oder muss man noch irgendwo her die Flash API runterladen und die mit einbinden?<br />
Gruß, Iso5786</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Ralfman666 aus Frankreich</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-24023</link>
		<dc:creator>Ralfman666 aus Frankreich</dc:creator>
		<pubDate>Mon, 30 Mar 2009 21:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-24023</guid>
		<description>Danke für diese Antwort.</description>
		<content:encoded><![CDATA[<p>Danke für diese Antwort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: flo</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-24022</link>
		<dc:creator>flo</dc:creator>
		<pubDate>Mon, 30 Mar 2009 21:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-24022</guid>
		<description>AS3WebcamExample.hx

/*
ActionScript 3 Webcam Example
 www.video-flash.de
*/


class AS3WebcamExample {
    static function main() {
    	var wc:Webcam = new Webcam();
    }
    

}



Und die Datei Webcam.hx:


/*
 www.video-flash.de
*/

    import flash.display.Sprite;
    import flash.events.NetStatusEvent;
    
    import flash.media.Video;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    
    import flash.events.Event;
	import flash.events.TimerEvent;  
	import flash.events.ActivityEvent;   	 
    
	import flash.media.Camera;
 	import flash.media.Microphone;
 	import flash.utils.Timer;
 	
	import flash.text.TextField;

class Webcam{

	var myTimer:Timer;
	var cam:Camera;
	var tf:TextField;
	private var motionState:String;

	public function new(){

		createTxt();
		
     	var myVideo:Video = new Video(400,300);
		flash.Lib.current.addChild(myVideo);
		myVideo.y = 100;

		var nc:NetConnection = new NetConnection();
		nc.connect(null);
 
		var ns:NetStream = new NetStream(nc);
		
		// Kamera initialisieren
		cam = Camera.getCamera();
		
		// Kamera-Modus festlegen: 400x300 mit 10 Bildern pro Sekunde
      	cam.setMode(400,300,10); 
      	
      	// Anzahl der Keyframes festlegen (für eine Uebertragung an den FMS): Keyframe alle 50 Bilder
      	cam.setKeyFrameInterval(50);
      	
      	// Qualitaet einstellen (für eine Uebertragung an den FMS): Bandbreite ist 16384 Bytes pro Sekunde, Qualität wird angepasst (=0)
      	cam.setQuality(16384,0);
    	     	
      	// Mikrophone
      	var mic:Microphone = Microphone.getMicrophone();
	    mic.rate=10;
	    
	    // Kamera mit Videodisplay verbinden
        myVideo.attachCamera(cam);
        

        
        // bei 40% Bewegunganslevel das Activity-Event auslösen
        // nach 1s (=1000ms)  
        cam.setMotionLevel(40, 1000);
        cam.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
              
		//Neuer Timer, Funktionsaufruf alle 500 ms
		myTimer = new Timer(500);
		myTimer.addEventListener(&quot;timer&quot;, timedFunction);
		myTimer.start();
	}
	

	private function timedFunction(eventArgs:TimerEvent) {
            tf.text = &quot;Bilder pro Sekunde: &quot; + cam.currentFPS + &quot;\n&quot; + &quot;\n&quot; + &quot;Bewegung im Bild: &quot; + cam.activityLevel + &quot;\n&quot; +  motionState;
	}   			
 
 
    private function activityHandler(event:ActivityEvent) {

           	if (event.activating == true) {
	           	this.motionState = &quot;Bewegungslevel ueberschritten&quot;;
           	}
           	
           	else {
       			this.motionState = &quot;Bewegungslevel wieder unterschritten&quot;;
           	}
        }
	
    private function createTxt() {   
         tf = new TextField();
         flash.Lib.current.addChild(tf);
         tf.width = 600;
    }	
	
}</description>
		<content:encoded><![CDATA[<p>AS3WebcamExample.hx</p>
<p>/*<br />
ActionScript 3 Webcam Example<br />
 <a href="http://www.video-flash.de" rel="nofollow">http://www.video-flash.de</a><br />
*/</p>
<p>class AS3WebcamExample {<br />
    static function main() {<br />
    	var wc:Webcam = new Webcam();<br />
    }</p>
<p>}</p>
<p>Und die Datei Webcam.hx:</p>
<p>/*<br />
 <a href="http://www.video-flash.de" rel="nofollow">http://www.video-flash.de</a><br />
*/</p>
<p>    import flash.display.Sprite;<br />
    import flash.events.NetStatusEvent;</p>
<p>    import flash.media.Video;<br />
    import flash.net.NetConnection;<br />
    import flash.net.NetStream;</p>
<p>    import flash.events.Event;<br />
	import flash.events.TimerEvent;<br />
	import flash.events.ActivityEvent;   	 </p>
<p>	import flash.media.Camera;<br />
 	import flash.media.Microphone;<br />
 	import flash.utils.Timer;</p>
<p>	import flash.text.TextField;</p>
<p>class Webcam{</p>
<p>	var myTimer:Timer;<br />
	var cam:Camera;<br />
	var tf:TextField;<br />
	private var motionState:String;</p>
<p>	public function new(){</p>
<p>		createTxt();</p>
<p>     	var myVideo:Video = new Video(400,300);<br />
		flash.Lib.current.addChild(myVideo);<br />
		myVideo.y = 100;</p>
<p>		var nc:NetConnection = new NetConnection();<br />
		nc.connect(null);</p>
<p>		var ns:NetStream = new NetStream(nc);</p>
<p>		// Kamera initialisieren<br />
		cam = Camera.getCamera();</p>
<p>		// Kamera-Modus festlegen: 400&#215;300 mit 10 Bildern pro Sekunde<br />
      	cam.setMode(400,300,10); </p>
<p>      	// Anzahl der Keyframes festlegen (für eine Uebertragung an den FMS): Keyframe alle 50 Bilder<br />
      	cam.setKeyFrameInterval(50);</p>
<p>      	// Qualitaet einstellen (für eine Uebertragung an den FMS): Bandbreite ist 16384 Bytes pro Sekunde, Qualität wird angepasst (=0)<br />
      	cam.setQuality(16384,0);</p>
<p>      	// Mikrophone<br />
      	var mic:Microphone = Microphone.getMicrophone();<br />
	    mic.rate=10;</p>
<p>	    // Kamera mit Videodisplay verbinden<br />
        myVideo.attachCamera(cam);</p>
<p>        // bei 40% Bewegunganslevel das Activity-Event auslösen<br />
        // nach 1s (=1000ms)<br />
        cam.setMotionLevel(40, 1000);<br />
        cam.addEventListener(ActivityEvent.ACTIVITY, activityHandler);</p>
<p>		//Neuer Timer, Funktionsaufruf alle 500 ms<br />
		myTimer = new Timer(500);<br />
		myTimer.addEventListener(&#8220;timer&#8221;, timedFunction);<br />
		myTimer.start();<br />
	}</p>
<p>	private function timedFunction(eventArgs:TimerEvent) {<br />
            tf.text = &#8220;Bilder pro Sekunde: &#8221; + cam.currentFPS + &#8220;\n&#8221; + &#8220;\n&#8221; + &#8220;Bewegung im Bild: &#8221; + cam.activityLevel + &#8220;\n&#8221; +  motionState;<br />
	}   			</p>
<p>    private function activityHandler(event:ActivityEvent) {</p>
<p>           	if (event.activating == true) {<br />
	           	this.motionState = &#8220;Bewegungslevel ueberschritten&#8221;;<br />
           	}</p>
<p>           	else {<br />
       			this.motionState = &#8220;Bewegungslevel wieder unterschritten&#8221;;<br />
           	}<br />
        }</p>
<p>    private function createTxt() {<br />
         tf = new TextField();<br />
         flash.Lib.current.addChild(tf);<br />
         tf.width = 600;<br />
    }	</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Ralfman666 aus Frankreich</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-24020</link>
		<dc:creator>Ralfman666 aus Frankreich</dc:creator>
		<pubDate>Mon, 30 Mar 2009 21:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-24020</guid>
		<description>Hallo, kann ich die Quelle dieser Beispiel irgendwo finden ?</description>
		<content:encoded><![CDATA[<p>Hallo, kann ich die Quelle dieser Beispiel irgendwo finden ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: www.video-flash.de</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-655</link>
		<dc:creator>www.video-flash.de</dc:creator>
		<pubDate>Sun, 16 Dec 2007 10:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-655</guid>
		<description>&lt;strong&gt;haxe Video 1.0: FLV Streaming Server...&lt;/strong&gt;


haXeVideo ist ein sehr schlanker FLV Streaming Server, der komplett in der Programmiersprache haXe geschrieben ist. Mit dem Open Source Server können FLV Dateien über das RTMP-Protokoll gestreamt werden.

Zu den Fähigkeiten von haxeVideo gehören:
...</description>
		<content:encoded><![CDATA[<p><strong>haxe Video 1.0: FLV Streaming Server&#8230;</strong></p>
<p>haXeVideo ist ein sehr schlanker FLV Streaming Server, der komplett in der Programmiersprache haXe geschrieben ist. Mit dem Open Source Server können FLV Dateien über das RTMP-Protokoll gestreamt werden.</p>
<p>Zu den Fähigkeiten von haxeVideo gehören:<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Albrecht Leiprecht</title>
		<link>http://www.video-flash.de/index/actionscript-3-haxe-compiler/comment-page-1/#comment-125</link>
		<dc:creator>Albrecht Leiprecht</dc:creator>
		<pubDate>Mon, 22 Oct 2007 17:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.video-flash.de/index.php/actionscript-3-haxe-compiler/#comment-125</guid>
		<description>Obwohl ich persoenlich Eclipse vorziehe, unter Flashdevelop.org gibt es eine ordentliche IDE die unter anderem auch haXe unterstuetzt. Selbst SWFMill funktionalitaet ist bereits mit eingebaut.</description>
		<content:encoded><![CDATA[<p>Obwohl ich persoenlich Eclipse vorziehe, unter Flashdevelop.org gibt es eine ordentliche IDE die unter anderem auch haXe unterstuetzt. Selbst SWFMill funktionalitaet ist bereits mit eingebaut.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

