Description
String. Sets the action to perform.
Syntax
mci.command = action;
Remarks
FFish Script supports the following actions:
open Opens a device. Specifies the deviceType and the fileName property before using this action. If you want the device to be shareable, set the sharable property to true. If the device needs a playing window, you must set the left, top, width and height property to define the location of the playing window embedded in the propjector. E.g.
m = new MCI; m.deviceType = "cdaudio"; m.wait = true; m.command = "open";
Remember to close the device after you have finished using it.
close Closes an device. E.g.
m.command = "close";
play Plays the specified media. Specifies the from and the to property before using this action.
pause Pauses the specified media.
stop Stops the device.
back Steps back. The frames property specifies the back frames. If this action is successfully finished, the from property is reset to 每1.
step Steps forward. The frames property specifies the frame number to step. If this action is successfully finished, the from property is reset to 每1.
prev Seeks to the begin of the track. If this action is successfully finished, the from property is reset to 每1.
next Seeks to the end of the next track. If this action is successfully finished, the from property is reset to 每1.
seek Seeks to the position specified by the to property. If this action is successfully finished, the from property is reset to 每1.
record Records. Specifies the from and the to property before using this action. The recordMode property specifies the record mode.
eject Ejects the media.
resume Resumes the device.
save Saves the opened file.
update Updates the playing window. where Obtains the clipping rectangle for the video device. If the action finished successfully, the width property contains the width of the video and the height property contains the height of the video.
All of the action strings are case-insensitive.