-
FK Photoshop Slut
How tyo stop a streaming flv at teh end of the stream
Hi all.
I have an swf that loads in an flv file. The video plays, but doesn't stop at the end. Have added a stop command at the end, but doesn't work Any help?
Cheers!
-
Are you using the FLVPlayback component to play the video?
If so, you can control autoplay and autorewind down in the Properties Panel, under the "Parameters" tab.
If you are using NetStream to play the video, it will not loop unless you have set
Code:
ns.onStatus = function(info) {
if(info.code == "NetStream.Play.Stop") {
ns.seek(0);
ns.play();
}
}
so just remove that part.
Best wishes,
Video Man
-
FK Photoshop Slut
Yeah, got it. I just had to go to the component inspector and set autorewind to 'false'
Cheers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|