Hello,

Trying to access bytesTotal and bytesLoaded for streaming .flv.

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect("movieHost");
var ns:NetStream = new NetStream(connection_nc);
vid.attachVideo(ns);
ns.play("movieTitle");

this.onEnterFrame = function() {
        trace(ns.bytesTotal);
        trace(ns.bytesLoaded);
}

both come up 0?

video plays fine. But i'm trying to build a percent bar.
we used flix for encoding.
tia,

-Dan
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to