|
FSCommand
導入
FLASHANTSは、デザイナーがVideoをコントロールして、統合する約40
FSCommandsを定義する。Flash設計にこれらのFLASHANTS
FSCommandsを使うことによってユーザーは、以下のようにVideoの利用を可能にされる機能によってFlashムービーを製作できる。
- Flash
imports native Video.
- Flash
overlaps upon Video.
- Flash
synchronizes with Video playback.
FLASHANTS
FSCommandsは、以下のカテゴリに分類される:
- ビデオ・プレイバック・コントロール=Video
playback control
Commands are starting with "fas.control", and used to
control video playback such as Play, Stop, Pause, Forward, Backward,
...
- ビデオ・クリップ・コントロール=Video
clip control
Starting with "fas.avclip", and used to import video
in Flash and set the playback attributes such as video position
, video size, playback loop numbers, buffering setting, .. etc.
- イベント・コントロール=Event
control
Starting with "fas.event", and used to set the action
function (action label) to be triggered by specific events.
- クリップ情報=Clip
information
Starting with "fas.clipinfo", and used to get information
about video clip.
- オーディオ・コントロール=Audio
control
Starting with "fas.sound", and used to control audio.
- ActiveXオブジェクト・コントロール=ActiveX
object control
Starting with "fas.axobj", and used to import other
activeX control such as PDF or Real object. Supported
by FMProjector only.
- プロジェクタ・ウィンドウ外観コントロール=Projector
windows appearance control
Starting with "fas.win", and used to customized the
application windows attributes such as win title, position, style,
etc. Supported by FMProjector only.
Special
Notes for FSCommand
1.
全てのコマンドは、大文字か小文字かを区別しない。例:
FS
Command("fas.control.play","") is
legal!
FS Command("fAs.COntrol.PLAy","")
is also legal!
2.
SPACE、または、空白文字は、引数の間で許さない。例:
FS
Command("fas.avclip.xy","10,20")
is legal!
FS Command("fas.avclip.xy","10
, 20") is not allowed in this version!
3.
Flash機能制限の故、FMPlayerからプロパティを得るためのファクションを使うのは、次のフレームまで値を返さない。例:
frame
10:
Set Variable: "CurPos" = 5
FS Command("fas.control.GetPosition","CurPos")
Set Variable: "SliderPos" = CurPos + 1
frame
11:
Set Variable: "SliderPos2" =
CurPos + 1
If the return value from "fas.control.GetPosition"
is 11,
then the value in "SliderPos" is 6, and "SliderPos2"
is 12.
What's
next
|