Buffering in AS3

Hello,

I have been successful in getting my application to record and save using AS3 and FMS. But I am having problems with my recording it just doesn’t record smoothly. I have tried these settings for Recording (AS3):

Code:
[LEFT]cam.setMode(320, 240, 30, false);

cam.setQuality(0,88);
cam.setKeyFrameInterval(10);
mic.rate = 11;[/LEFT]

[COLOR=Blue]Play Button:[/COLOR]
Code:
[LEFT]ns.play(StreamName);
ns.pause();
ns.resume();[/LEFT]

[COLOR=Red]Record Button:[/COLOR]
Code:
[LEFT]vid_screen.attachCamera(cam);
ns.close();
ns = new NetStream(nc);
ns.client = client;
ns.attachCamera(cam);
ns.bufferTime = 2;
ns.attachAudio(mic);[/LEFT]

I have played with the bufferTime ranging from .1 to 100 and it doesn’t make a difference. Am I not using bufferTime correctly? It records better without the buffering, but my recording still not smooth it looks like it plays and stops, although the sound plays just perfect even when the video stops and goes. I am using AS3. It seams that buffering is handled different in AS3 than AS2.

What can I do, please help,

Thanks again,

Louis