| Package | jp.nium.external |
| Class | public final class JSFL |
| Property | Defined by | ||
|---|---|---|---|
| buildVersion : int [static][read-only]
Flash オーサリングツールのビルドバージョンを取得します。
| JSFL | ||
| configURI : String [static][read-only]
ローカルユーザーの "Configuration" ディレクトリを file:/// URI として表す完全パスを指定するストリングを取得します。
a string that specifies the full path for the local user's Configuration directory as a file:/// URI.
| JSFL | ||
| enabled : Boolean [static][read-only]
Flash オーサリングツールとの JSFL 通信が可能かどうかを取得します。
Returns if it is able to communicate with Flash authoring tool via JSFL.
| JSFL | ||
| language : String [static][read-only]
Flash オーサリングツールが実行されている環境の言語情報を取得します。
| JSFL | ||
| majorVersion : int [static][read-only]
Flash オーサリングツールのメジャーバージョンを取得します。
| JSFL | ||
| minorVersion : int [static][read-only]
Flash オーサリングツールのマイナーバージョンを取得します。
| JSFL | ||
| platform : String [static][read-only]
Flash オーサリングツールが実行されている OS 情報を取得します。
| JSFL | ||
| revisionVersion : int [static][read-only]
Flash オーサリングツールのリビジョンバージョンを取得します。
| JSFL | ||
| Method | Defined by | ||
|---|---|---|---|
|
alert(... messages):void
[static]
モーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンを表示します。
displays a string in a modal Alert dialog box, along with an OK button.
| JSFL | ||
|
browseForFileURL(browseType:String, title:String = null):String
[static]
ファイルを開く、またはファイルを保存システムダイアログボックスを開き、ユーザーは開いたり保存したりするファイルを指定できます。
Opens a File Open or File Save system dialog box and lets the user specify a file to be opened or saved.
| JSFL | ||
|
browseForFolderURL(description:String = null):String
[static]
フォルダを参照ダイアログボックスを表示し、ユーザーがフォルダを選択できるようにします。
Displays a Browse for Folder dialog box and lets the user select a folder.
| JSFL | ||
|
call(funcName:String, ... args):*
[static]
Flash JavaScript アプリケーションプログラミングインターフェイスを経由して、関数を実行します。
Execute function via Flash JavaScript Application Programming Interface.
| JSFL | ||
|
confirm(... messages):Boolean
[static]
モーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンと [キャンセル] ボタンを表示します。
displays a string in a modal Alert dialog box, along with OK and Cancel buttons.
| JSFL | ||
|
fltrace(... messages):void
[static]
テキストストリングを [出力] パネルに送ります。
Sends a text string to the Output panel.
| JSFL | ||
|
prompt(title:String, ... messages):String
[static]
モーダル警告ダイアログボックスに、プロンプトとオプションのテキストおよび [OK] ボタンと [キャンセル] ボタンを表示します。
displays a prompt and optional text in a modal Alert dialog box, along with OK and Cancel buttons.
| JSFL | ||
|
runScript(fileURL:String, funcName:String = null, ... args):*
[static]
JavaScript ファイルを実行します。関数をパラメータの 1 つとして指定している場合は、その関数が実行されます。また関数内にないスクリプトのコードも実行されます。スクリプト内の他のコードは、関数の実行前に実行されます。
executes a JavaScript file.
| JSFL | ||
| buildVersion | property |
buildVersion:int [read-only]Flash オーサリングツールのビルドバージョンを取得します。
Implementation public static function get buildVersion():int
| configURI | property |
configURI:String [read-only]ローカルユーザーの "Configuration" ディレクトリを file:/// URI として表す完全パスを指定するストリングを取得します。 a string that specifies the full path for the local user's Configuration directory as a file:/// URI.
Implementation public static function get configURI():String
| enabled | property |
enabled:Boolean [read-only]Flash オーサリングツールとの JSFL 通信が可能かどうかを取得します。 Returns if it is able to communicate with Flash authoring tool via JSFL.
Implementation public static function get enabled():Boolean
| language | property |
language:String [read-only]Flash オーサリングツールが実行されている環境の言語情報を取得します。
Implementation public static function get language():String
| majorVersion | property |
majorVersion:int [read-only]Flash オーサリングツールのメジャーバージョンを取得します。
Implementation public static function get majorVersion():int
| minorVersion | property |
minorVersion:int [read-only]Flash オーサリングツールのマイナーバージョンを取得します。
Implementation public static function get minorVersion():int
| platform | property |
platform:String [read-only]Flash オーサリングツールが実行されている OS 情報を取得します。
Implementation public static function get platform():String
| revisionVersion | property |
revisionVersion:int [read-only]Flash オーサリングツールのリビジョンバージョンを取得します。
Implementation public static function get revisionVersion():int
| alert | () | method |
public static function alert(... messages):voidモーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンを表示します。 displays a string in a modal Alert dialog box, along with an OK button.
Parameters... messages — 警告ダイアログボックスに表示するメッセージを指定するストリングです。
A string that specifies the message you want to display in the Alert dialog box.
|
| browseForFileURL | () | method |
public static function browseForFileURL(browseType:String, title:String = null):Stringファイルを開く、またはファイルを保存システムダイアログボックスを開き、ユーザーは開いたり保存したりするファイルを指定できます。 Opens a File Open or File Save system dialog box and lets the user specify a file to be opened or saved.
ParametersbrowseType:String — ファイルの参照操作の種類を指定するストリングです。
A string that specifies the type of file browse operation.
|
|
title:String (default = null) — ファイルを開くダイアログボックスまたはファイルを保存ダイアログボックスのタイトルを指定するストリングです。
A string that specifies the title for the File Open or File Save dialog box.
|
String — file:/// URI で表したファイルの URL です。
The URL of the file, expressed as a file:/// URI.
|
| browseForFolderURL | () | method |
public static function browseForFolderURL(description:String = null):Stringフォルダを参照ダイアログボックスを表示し、ユーザーがフォルダを選択できるようにします。 Displays a Browse for Folder dialog box and lets the user select a folder.
Parametersdescription:String (default = null) — フォルダを参照ダイアログボックスの説明を指定する省略可能なストリングです。
An optional string that specifies the description of the Browse For Folder dialog box.
|
String — file:/// URI で表したフォルダの URL です。
The URL of the folder, expressed as a file:/// URI.
|
| call | () | method |
public static function call(funcName:String, ... args):*Flash JavaScript アプリケーションプログラミングインターフェイスを経由して、関数を実行します。 Execute function via Flash JavaScript Application Programming Interface.
ParametersfuncName:String — 実行したい関数名です。
The name of the function to execute.
|
|
... args — funcName に渡すパラメータです。
The parameter to pass to funcName.
|
* — funcName を指定した場合に、関数の結果をストリングで返します。
Return the result of the function as string if funcName specified.
|
| confirm | () | method |
public static function confirm(... messages):Booleanモーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンと [キャンセル] ボタンを表示します。 displays a string in a modal Alert dialog box, along with OK and Cancel buttons.
Parameters... messages — 警告ダイアログボックスに表示するメッセージを指定するストリングです。
A string that specifies the message you want to display in the Alert dialog box.
|
Boolean — ユーザーが [OK] をクリックしたときは true、[キャンセル] をクリックしたときは false を返します。
true if the user clicks OK; false if the user clicks Cancel.
|
| fltrace | () | method |
public static function fltrace(... messages):voidテキストストリングを [出力] パネルに送ります。 Sends a text string to the Output panel.
Parameters... messages — [出力] パネルに表示するストリングです。
string that appears in the Output panel.
|
| prompt | () | method |
public static function prompt(title:String, ... messages):Stringモーダル警告ダイアログボックスに、プロンプトとオプションのテキストおよび [OK] ボタンと [キャンセル] ボタンを表示します。 displays a prompt and optional text in a modal Alert dialog box, along with OK and Cancel buttons.
Parameterstitle:String — プロンプトダイアログボックスに表示するストリングです。
A string to display in the Prompt dialog box.
|
|
... messages — プロンプトダイアログボックスに表示するストリングです。
An optional string to display as a default value for the text field.
|
String — ユーザーが [OK] をクリックした場合はユーザーが入力したストリング、[キャンセル] をクリックした場合は null を返します。
The string the user typed if the user clicks OK; null if the user clicks Cancel.
|
| runScript | () | method |
public static function runScript(fileURL:String, funcName:String = null, ... args):*JavaScript ファイルを実行します。関数をパラメータの 1 つとして指定している場合は、その関数が実行されます。また関数内にないスクリプトのコードも実行されます。スクリプト内の他のコードは、関数の実行前に実行されます。 executes a JavaScript file. If a function is specified as one of the arguments, it runs the function and also any code in the script that is not within the function. The rest of the code in the script runs before the function is run.
ParametersfileURL:String — 実行するスクリプトファイルの名前を指定した file:/// URI で表されるストリングです。
string, expressed as a file:/// URI, that specifies the name of the script file to execute.
|
|
funcName:String (default = null) — fileURI で指定した JSFL ファイルで実行する関数を識別するストリングです。
A string that identifies a function to execute in the JSFL file that is specified in fileURI. This parameter is optional.
|
|
... args — funcName に渡す省略可能なパラメータです。
optional parameter that specifies one or more arguments to be passed to funcname.
|
* — funcName を指定すると、関数の結果をストリングで返します。指定しない場合は、何も返されません。
The function's result as a string, if funcName is specified; otherwise, nothing.
|