| Package | jp.nium.external |
| Class | public final class JSFLInterface |
| Inheritance | JSFLInterface Object |
| Property | Defined By | ||
|---|---|---|---|
| buildVersion : int [static] [read-only]
| JSFLInterface | ||
| 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.
| JSFLInterface | ||
| enabled : Boolean [static] [read-only]
Flash IDE との JSFL 通信が可能かどうかを取得します。
Returns if it is able to communicate with Flash IDE via JSFL.
| JSFLInterface | ||
| language : String [static] [read-only]
| JSFLInterface | ||
| majorVersion : int [static] [read-only]
| JSFLInterface | ||
| minorVersion : int [static] [read-only]
| JSFLInterface | ||
| platform : String [static] [read-only]
| JSFLInterface | ||
| revisionVersion : int [static] [read-only]
| JSFLInterface | ||
| Method | Defined By | ||
|---|---|---|---|
alert(... messages):void [static]
モーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンを表示します。
displays a string in a modal Alert dialog box, along with an OK button.
| JSFLInterface | ||
call(funcName:String, ... args):* [static]
Flash JavaScript アプリケーションプログラミングインターフェイスを経由して、関数を実行します。
Execute function via Flash JavaScript Application Programming Interface.
| JSFLInterface | ||
confirm(... messages):Boolean [static]
モーダル警告ダイアログボックスに、ストリングおよび [OK] ボタンと [キャンセル] ボタンを表示します。
displays a string in a modal Alert dialog box, along with OK and Cancel buttons.
| JSFLInterface | ||
fltrace(... messages):void [static]
テキストストリングを [出力] パネルに送ります。
Sends a text string to the Output panel.
| JSFLInterface | ||
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.
| JSFLInterface | ||
runScript(fileURL:String, funcName:String = null, ... args):* [static]
JavaScript ファイルを実行します。関数をパラメータの 1 つとして指定している場合は、その関数が実行されます。また関数内にないスクリプトのコードも実行されます。スクリプト内の他のコードは、関数の実行前に実行されます。
executes a JavaScript file. | JSFLInterface | ||
| buildVersion | property |
buildVersion:int [read-only]
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.
public static function get configURI():String| enabled | property |
enabled:Boolean [read-only] Flash IDE との JSFL 通信が可能かどうかを取得します。 Returns if it is able to communicate with Flash IDE via JSFL.
public static function get enabled():Boolean| language | property |
language:String [read-only]
public static function get language():String| majorVersion | property |
majorVersion:int [read-only]
public static function get majorVersion():int| minorVersion | property |
minorVersion:int [read-only]
public static function get minorVersion():int| platform | property |
platform:String [read-only]
public static function get platform():String| revisionVersion | property |
revisionVersion:int [read-only]
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.
|
| call | () | method |
public static function call(funcName:String, ... args):*Flash JavaScript アプリケーションプログラミングインターフェイスを経由して、関数を実行します。 Execute function via Flash JavaScript Application Programming Interface.
Parameters
funcName: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.
Parameters
title: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.
Parameters
fileURL: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.
|