Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2009, 05:20 AM
Junior Member
 
Join Date: Apr 2008
Posts: 6
Default MCI recording in Vista

Hi,

I used simply recording code as follow, which work fine with XP

var sFileName = String(Application.cmdItems[0]);
var iSec = String(Application.cmdItems[1]);

m = new MCI;
m.deviceType = "waveaudio";

m.fileName = "";
m.command = "open";
m.timeFormat = 0;
m.to = iSec * 1000;
m.notify = true;
m.onNotify = onNotify;
m.command = "record";

function onNotify(flag) {
if (flag == 1) {
//save the recording to file
m.notify = false;
m.fileName = sFileName;
m.command = "save";
m.command = "close";
}
}

But it doesn't work in Vista.
For some path, a 0 kb wav file would be created and record nothing.

Does MCI work in Vista?
If not, what else I should use?

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-07-2009, 04:06 AM
Junior Member
 
Join Date: Apr 2008
Posts: 6
Default

anyone can help?
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:01 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.