next up previous contents
Next: frames Up: Properties Previous: deviceType   Contents


fileName

Description

String. Specifies the multimedia file to play.


Syntax

mci.fileName


Example

m = new MCI;
m.deviceType = "sequencer";
m.fileName = "c:\\test.rmi";
m.wait = true;
m.command = "open";
m.command = "play";
m.command = "close";
//Tip: How to work with multiple CDAudio devices?
//Set the fileName property to
//the drive letter of the CD-ROM drive.
//E.g.
m = new MCI;
m.deviceType = "cdaudio";
m.filename = "e:";




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.