# Buffering FLV Playback of Spokeswoman problem

**URL:** https://forum.kirupa.com/t/buffering-flv-playback-of-spokeswoman-problem/180951
**Category:** Uncategorized
**Created:** [March 4, 2006, 10:39pm UTC](https://forum.kirupa.com/t/buffering-flv-playback-of-spokeswoman-problem/180951 "2006-03-04T22:39:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![delpadre](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/delpadre/32/2207_2.png) [@delpadre](https://forum.kirupa.com/u/delpadre)
#### Post date: [March 4, 2006, 10:39pm UTC](https://forum.kirupa.com/t/buffering-flv-playback-of-spokeswoman-problem/180951/1 "2006-03-04T22:39:09Z")

</div>

[FONT=Times New Roman][SIZE=3]Hello, I am working on a project that will have a spokeswoman shot on green screen that will be overlaid on the website identical to the 2007 Mercedes-Benz S-Class site below:[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[[FONT=Times New Roman][SIZE=3][COLOR=#800080]http://www.mbusa.com/microsite/s-class/index.jsp[/COLOR][/SIZE][/FONT]](http://www.mbusa.com/microsite/s-class/index.jsp)  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]The problem I am having is ensuring that the video stream well and not have any pauses or interruptions as the woman is talking. I don’t want to pre-load the entire video as it would take too long. Right now I am using the following simple code to playback the video, I am setting the Buffering time to 5 seconds.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]var nc:NetConnection = new NetConnection();[/FONT][/SIZE]  
[SIZE=3][FONT=Times New Roman]nc.connect(null);[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]var ns:NetStream = new NetStream(nc);[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]theVideo.attachVideo(ns);[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]ns.setBufferTime(5);[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]ns.play(“test.flv”);[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]This does not play the entire video even on a fast cable modem without any interruptions like the Mercedes site does. [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Can anyone please point me in the right direction? I have searched all the forums and tutorial sites but I can’t find the answer.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Thank you in advance for your time.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Regards,[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Nino[/SIZE][/FONT]
