Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Got flv recording working, now for the hard part....

Status
Not open for further replies.

rafguevara

Technical User
Jan 10, 2008
2
US
So I pieced together this actionscript to record video from a webcam and store it in a folder (using Flash Media Server). I can get it to playback on the same screen and everything.

There are just 2 more pieces I want to add and I my lack of actionscript knowledge is stonewalling me.

Code:
//Recording functionality
btnRecord.onRelease = function():Void{

	setInterval(countdown, 1000);
	time_left = 5;
	
	
	ns.attachVideo(camLive);
	ns.attachAudio(audLive);
	ns.publish("demo."+ time, "record");
	
	btnPlay.enabled = false;
	mcRecordInfo._visible = true;
	
	nTimer = setInterval(stopRecording, "5000");
}
I got a timer and I got recording going BUT they happen at the same time. I need the recording to happen AFTER the timer gets to 0.

I will post my other question separately since it does not go with this one.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top