Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2008, 06:51 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default garbage value

it show the garbage value in the save diablog box. i attach the picture with this post check it also


var fname ="hi"
var f = "Wave files(*.wav)";
var res = Dialogs.fileSave(f,"",fname);

m = new MCI;
m.deviceType = "waveaudio";
m.fileName = "";
m.wait = true;
m.recordMode = false
m.command = "open";
//set the time format to milliseconds
m.timeFormat = 0;
//Set the record length to 10 seconds
m.to = 0x8FFFFFFF;
m.wait = false;
m.notify = true;
m.onNotify = saveFile;
m.command = "record";

function saveFile() {
m.notify = false;
//save the recording to file
m.fileName = res+".wav";
m.command = "save";
m.command = "close";
}





m.notify = false;
//save the recording to file
m.fileName = res+".wav";
m.command = "save";
m.command = "close";
Dialogs.msgBox("file saved","Save...",80)

Reply With Quote
  #2 (permalink)  
Old 02-17-2008, 06:58 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: garbage value

Please add a '|' at the end of the filter string:

var f = "Wave files(*.wav)|*.wav|";
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 07:48 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re: garbage value

thankxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx ;D
Reply With Quote
  #4 (permalink)  
Old 08-29-2009, 06:07 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default

hi.... i am back again

please help me i am getting a new problem

i want to control save file of sound recording

this is problem

suppose . when i click record button and after one hour of recording then i stop recording then it save all at once

but if in between some problem or error came then nothing saved

like i start and only 5 min left in completion of one hour then surdenly light gone then all of the recorded sound removed.. and i got nothing

i want it ll save on each time intrevel and give in a one file no more than one file
i want it save as well as record so if any error arise then i got recorded data

eg:..like Download Accelerator Plus software do ... when it start download file from internet it save in same file but in segments and in the end give one file or data


regards
js
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 04:59 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.