Question
Question about NetStream.onPlayStatus
I have an external flv which I want to go back to the
beginning once it is finished so the viewer can watch it again
without having to reload the page. When I posted this question in
the Actioscript forum someone suggested that I use
NetStream.onPlayStatus (I'm using NetStream.pause and
NetStream.seek for the other controls) but when I tried to use it I
got an error saying "there is no property with the
name'onPlayStatus'". I am using Flash MX 2004. Is this property
only available in Flash Media Server. If so does anybody know
another way of basically doing this:
netStream.onPlayStatus = function(reset) {
if (reset.code == "NetStream.Play.Complete") {
netStream.seek(0);
}
};
netStream.onPlayStatus = function(reset) {
if (reset.code == "NetStream.Play.Complete") {
netStream.seek(0);
}
};
