| Command |
Arguments |
Examples |
| fas.control.Backward |
void |
fscommand("fas.control.Backward","");
Only supported with WMV/ASF streaming from Windows
Media Server |
| fas.control.Forward |
void |
fscommand("fas.control.Forward","");
Only supported with WMV/ASF streaming from Windows
Media Server |
| fas.control.GetCurMarker |
int variable |
fscommand("fas.control.GetCurMarker","CurMarkerNum"); |
| fas.control.GetMarkerCount |
int variable |
fscommand("fas.control.GetMarkerCount","MarkerCount"); |
| fas.control.GetMarkerTime |
int #marker,variable(1/100 second) |
fscommand("fas.control.GetMarkerTime","2,MarkerTime"); |
| fas.control.GetPosition |
int variable(1/100 second) |
fscommand
("fas.control.GetPosition","CurPos"); |
| fas.control.GetPosition2 |
string variable(hh:mm:ss) |
fscommand
("fas.control.GetPosition2","CurPos"); |
| fas.control.Pause |
void
|
fscommand
("fas.control.Pause", ""); |
| fas.control.play |
void |
fscommand
("fas.control.play", ""); |
| fas.control.SetMarker |
marker id |
fscommand("fas.control.SetMarker",2); |
| fas.control.SetPosition |
new position(1/100 second) |
fscommand("fas.control.SetPosition",100); |
| fas.control.Stop |
void |
fscommand
("fas.control.Stop", "") |
|
|
|
| fas.avclip.AutoPlay |
TRUE/ FALSE |
fscommand
("fas.avclip.AutoPlay",
"TRUE"); |
| fas.avclip.AutoSize |
TRUE/FALSE |
true:video size is original video clip size
false: video size is depend on fas.avclip.displaysize.
(If
displaysize is set to FitToSize, then video size is set by
fas.avclip.rect)
|
| fas.avclip.BufferingProgress |
int variable(0~100) |
fscommand
("fas.avclip.bufferingprogress", _target
add ".BufferProgress"); |
| fas.avclip.ClickToPlay |
TRUE/FALSE |
TRUE: enable click to pause/play |
| fas.avclip.DisplaySize |
DefaultSize/
FitToSize/
DoubleSize/
OneHalfScreen/
HalfScreen |
fscommand("fas.avclip.DisplaySize","FitToSize");
This command only work when fas.avclip.AutoSize is false, and
if this command is set to FitToSize, then the video size is
set by fas.avclip.rect |
| fas.avclip.FullScreen |
TRUE/FALSE |
Enable/Disable full screen video mode
( This command only work when fas.avclip.VideoOnTop is True
and fas.avclip.AutoSize is False) |
| fas.avclip.GetBufferingTime |
int variable(second) |
fscommand
("fas.avclip.GetBufferingTime",
"BufTime"); |
| fas.avclip.GetDuration |
int variable(second) |
fscommand
("fas.avclip.GetDuration",
"Duration"); |
| fas.avclip.Load |
URL |
fscommand
("fas.avclip.Load", "..\test.mpeg"); |
| fas.avclip.PlayCount |
positive integer |
fscommand
("fas.avclip.PlayCount",3) |
| fas.avclip.Rect |
left,top,right,bottom |
fscommand
("fas.avclip.Rect", "0,0,320,240"); |
| fas.avclip.SetBufferingTime |
buffering time(second) |
fscommand
("fas.avclip.SetBufferingTime",5); |
| fas.avclip.Unload |
void |
fscommand
("fas.avclip.Load", ""); |
| fas.avclip.VideoOnTop |
BOOL |
fscommand("fas.avclip.VideoOnTop,"TRUE"); |
| fas.avclip.XY |
x,y |
fscommand
("fas.avclip.Rect", "10,20");
|
| fas.avclip.USEWMP6 |
BOOL |
fscommand
("fas.avclip.USEWMP6", "TRUE");
Force to utilize Windows Media Player 6
to play video.
|
|
|
|
| fas.event.Disconnect |
ActionLabel |
fscommand
("fas.event.Disconnect", "_root.FrameLabelDisconnect"); |
| fas.event.EndOfBuffering |
ActionLabel |
fscommand
("fas.event.EndOfBuffering", "FrameLabelBufferComplete"); |
| fas.event.EndOfStream |
ActionLabel |
fscommand
("fas.event.EndOfStream", "/:EndOfStreamAction"); |
| fas.event.Error |
ActionLabel, description |
fscommand
("fas.event.Error", "_root.FrameLabelError,_root.ErrStr"); |
| fas.event.MarkerHit |
ActionLabel,makeId |
fscommand("fas.event.MarkerHit","LabelMarkerHit,_root.MarkerID"); |
| fas.event.NewBuffering |
ActionLabel |
fscommand
("fas.event.NewBuffering", "_root.EventBuffering"); |
| fas.event.NewStream |
ActionLabel |
fscommand
("fas.event.NEWSTREAM", "NewStreamAction"); |
| fas.event.OpenStateChange |
ActionLabel, stateVariable |
fscommand
("fas.event.OpenStateChange",
",OpenState");
fscommand ("fas.event.OpenStateChange", "_root.OpenStateAction,OpenState"); |
| fas.event.PlayStateChange |
ActionLabel, stateVariable |
fscommand
("fas.event.PlayStateChange",
",PlayState");
fscommand ("fas.event.PlayStateChange", "/:PlayStateAction,PlayState"); |
| fas.event.ScriptCommand |
ActionLabel,type,params |
fscommand
("fas.event.ScriptCommand", "_root.LabelScriptCommand,_root.scriptType,_root.scriptParm");
|
| fas.event.VideoRectChange |
ActionLabel,width,height |
fscommand
("fas.event.VideoRectChange", "/:VideoRectangleChange,/:ClipWidth,/:ClipHeight");
|
| fas.event.Warning |
ActionLabel, description |
fscommand
("fas.event.Warning", "_root.FrameLabelWarning,_root.WarnStr"); |
|
|
|
| fas.clipinfo.GetAuthor |
variable string |
fscommand
("fas.clipinfo.GETAUTHOR", "ClipAuthor"); |
| fas.clipinfo.GetCopyRight |
variable string |
fscommand
("fas.clipinfo.GETCopyright", "ClipCopyright"); |
| fas.clipinfo.GetTitle |
variable string |
fscommand
("fas.clipinfo.GETTITLE", "ClipTitle"); |
| fas.sound.GetBalance |
int variable(-100~100) |
fscommand
("fas.sound.GetBalance",
"balance"); |
| fas.sound.GetMute |
bool variable(TRUE/FALSE) |
fscommand
("fas.sound.GetMute", "Mute"); |
| fas.sound.GetVolume |
variable(0 ~100) |
fscommand
("fas.sound.GetVolume", "vol"); |
| fas.sound.GetVolume2 |
variable(-10000~0) |
fscommand("fas.sound.GetVolume2","vol"); |
| fas.sound.SetBalance |
balance(-100~100) |
fscommand
("fas.sound.SetBalance",
balance); |
| fas.sound.SetMute |
TRUE/FALSE |
fscommand
("fas.sound.SetMute", "FALSE") |
| fas.sound.SetVolume |
volume(0 ~ 100) |
fscommand
("fas.sound.SetVolume",
vol); |
| fas.sound.SetVolume2 |
volume(-10000~0) |
fscommand("fas.sound.SetVolume2",vol); |
|
|
|
| fas.axobj.Close |
void |
fscommand("fas.axobj.close",""); |
| fas.axobj.Open |
left,top,right,bottom,objTag |
fscommand("fas.axobj.open", "0,0,320,240,<object
classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"> <param
name=\"Filename\" value=\"test.avi\">"); |
| fas.axobj.OpenCult3D |
left,top,right,bottom,fileName |
fscommand("fas.axobj.OpenCult3D", "1,1,300,200,%INIT_DIR%match.co"); |
| fas.axobj.OpenPdf |
left,top,right,bottom,fileName |
fscommand
("fas.axobj.OpenPdf", "0,0,320,240,fileName"); |
| fas.axobj.Rect |
left,top,right,bottom |
fscommand
("fas.axobj.Rect", "0,0,320,240"); |
| fas.axobj.XY |
x,y |
fscommand
("fas.axobj.XY", "10,20")
; |
|
|
|
| fas.win.bkrgb |
0xrrggbb |
set window background color
fscommand("fas.win.bkrgb","0xff0000"); |
| fas.win.clickToMove |
TRUE/FALSE |
fscommand("fas.win.ClickToMove","TRUE"); |
| fas.win.hide |
void |
fscommand("fas.win.hide",""); |
| fas.win.maxmize |
void |
fscommand("fas.win.maxmize",""); |
| fas.win.minimize |
void |
fscommand("fas.win.minimize","") |
| fas.win.move |
void |
enable user to move projector window |
| fas.win.OnTop |
TRUE/FALSE |
fscommand("fas.win.OnTop","TRUE") |
| fas.win.pos |
(LEFT/MIDDLE/RIGHT, TOP/MIDDLE/BOTTOM) |
fscommand("fas.win.pos","middle,middle") |
| fas.win.show |
void |
fscommand("fas.win.show",""); |
| fas.win.style |
NoBorder/
BORDERONLY/
NORESIZE/
NORMAL |
fscommand("fas.win.style","NORESIZE"); |
| fas.win.title |
string for window title |
default is same as projector filename
fscommand("fas.win.title","FlashAnts"); |
|
|
|
| fas.reg.get |
registery key, value name, variable |
fscommand("fas.reg.get", "HKEY_CLASSES_ROOT\\CLSID\\{B801CA65-A1FC-11D0-85AD-444553540000}\\LocalServer32,,_root.Acrobat"); |
| fas.reg.set |
registery key, value name, value |
fscommand("fas.reg.set", "HKEY_CURRENT_USER\\Software\\MyProgram,Secret,"
add _root.secretValue);
|
|
|
|
| fas.shell.GetInitDir |
string variable |
fscommand("fas.shell.GetInitDir", "_root.InitDir"); |
| fas.shell.open |
filename |
fscommand("fas.shell.open","myfile.doc");
fscommand("fas.shell.open","mailto:support@flashants.com");
|
| fas.shell.getswf |
filename, width , height |
Get swf fil's document width and height.
fscommand("fas.shell.getswf", "http://localhost/flash/test.swf,
_root.swfWidth , _root.swfHeight");
|
|
|
|
| ALLOWSCALE |
TRUE/FLASE |
fscommand("AllowScale","FALSE"); |
| EXEC |
program |
fscommand("exec","notepad.exe"); |
| FULLSCREEN |
TRUE/FALSE |
fscommand("FULLSCREEN","TRUE"); |
| QUIT |
void |
fscommand("Quit",""); |
| SHOWMENU |
TRUE/FALSE |
fscommand("ShowMenu","FALSE"); |
| TRAPALLKEYS |
TRUE/FALSE |
fscommand("TrapAllkeys","FALSE"); |