// make a connection
var hookup_nc:NetConnection = new NetConnection( );
hookup_nc.connect( null );
// Create a NetStream instance
var showTime_ns:NetStream = new NetStream( hookup_nc );
//Attach the NetStream to the video on stage
dict_video.attachVideo( showTime_ns );
// Set buffer to 2 seconds ( or whatever you want )
showTime_ns.setBufferTime( 2 );
// Play Video
play_btn.onPress = function( ) {
showTime_ns.play( “dict.flv” );
};

// Rewind
rewind_btn.onPress = function( ){
showTime_ns.seek( 0 );
};

// Stop video
stop_btn.onPress = function( ){
showTime_ns.close( );
};

// Pause Video (toggle )
pause_btn.onPress = function( ){
showTime_ns.pause( );
};