I think I am close. No AS errors but I am getting an Error opening URL for a file I know is there & what I was told by another dev is the correct path for a file on Akamai.
_root.stop();
var netConn = new NetConnection();
netConn.connect(null);
var ns = new NetStream(netConn);
my_video.attachVideo(ns);
ns.setBufferTime(5);
ns.play("rtmp://cp******.edgefcs.net/ondemand/*****/****/*****.flv");
getTotalTime = function () {
ns.onMetaData = function(obj) {
_global.videoDuration = obj.duration;
//trace(obj.duration);
};
};