Wednesday, October 20, 2010

looping a flv

ns.onStatus = function(info) {                                   // checks the status of a flv named "ns"
if (info.code == "NetStream.Play.Stop") {                // if it is stopped of hit the end and stop
ns.seek(0);                                                               //  it will seek frame 0
}
};

No comments:

Post a Comment