This is in response to ....
> Does anyone know how to retrieve the length of an .FLV file with C#?
Flash Mx 2004: Update your
C:\Program Files\Macromedia\Flash MX 2004\en\First
Run\Classes\NetStream.as
with
function onMetaData(info:Object):Void;
to enable getting the duration of your flv's from the metadata.
ns.onMetaData = function(obj) {
trace("FLV duration: "+obj.duration+" sec.");
trace("FLV videodatarate: "+obj.videodatarate+"
Kbit/s");
trace("FLV audiodatarate: "+obj.audiodatarate+"
Kbit/s");
trace("FLV creationdate: "+obj.creationdate);
};
: Cole Peterson
: ZAAZ, Inc
: Interactive developer
: [EMAIL PROTECTED]
: t 206.341.9885 x4867
: www.zaaz.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders