[haXe] Video and AS3

Gilles Maire Gilles.Maire at ungi.net
Fri Jul 6 12:54:48 CEST 2007


Hi

I use this peace of code to run Video on local disk : 

Video = new 
flash.media.Video(Value.get("VideoLength"),Value.get("VideoHeight"));
var connection = new flash.net.NetConnection();
connection.connect(null);
VideoStream = new flash.net.NetStream(connection);
VideoStream.play(url);
Video.attachNetStream(VideoStream);
sprite.addChild(Video);

All is ok if I load flv video on disk

Now I want to load video in database and load URL ... 
I don't understand AS3 doc. Can you help me to load video on URL ? 

Thanks


-- 
Gilles Maire
UNGI
http://www.ungi.net



More information about the Haxe mailing list