rafguevara
Technical User
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.
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.
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 will post my other question separately since it does not go with this one.