Hey everyone,
It is very difficult to find good resources for Haxe information so I am hoping someone out there can help me. I have an FLV movie in the same directory as the SWF I am generating. I cannot get the FLV to play. I can get this working in AS but I need to know what I am doing wrong in my Haxe code.
Hope someone can help.
Thanks.
var mc:MovieClip = Lib._root;
var connection:NetConnection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
mc.attachVideo(stream);
trace(mc.flash.Video);
stream.play("default.flv");