| Package | net.guttershark.util |
| Class | public final class JSFLProxy |
JSFL Proxy does not eleviate having to call such things like:
MMExecute("fl.getDocumentDOM().path"), but it does relieve
calling script files, or functions withing script files, and
handling parameters, and responses from the script.
| Method | Defined by | ||
|---|---|---|---|
|
alert(message:String, escap:Boolean = false):void
Alert a message.
| JSFLProxy | ||
|
[static]
Singleton access.
| JSFLProxy | ||
|
runScript(scriptFile:String, callProps:Object = null):*
Run a jsfl script file, with optional parameters.
| JSFLProxy | ||
|
trase(msg:*, escap:Boolean = false):void
Trace to output.
| JSFLProxy | ||
| alert | () | method |
public function alert(message:String, escap:Boolean = false):voidAlert a message.
Parametersmessage:String — A message to alert.
|
|
escap:Boolean (default = false) — Whether or not to escape the alert message.
|
| gi | () | method |
| runScript | () | method |
public function runScript(scriptFile:String, callProps:Object = null):*Run a jsfl script file, with optional parameters.
The callProps object accepts these properties:
Those properties are optional. And depending on what properties are present, either a jsfl file will execute, or a method inside of it
ParametersscriptFile:String — The fileURI (file:///) to run.
|
|
callProps:Object (default = null) — The call properties to use for this call.
|
* |
var j:JSFLProxy = JSFLProxy.gi();
j.runScript("myscript.jsfl",{responseFormat:"xml",responseWasEscape:true});
var j:JSFLProxy = JSFLProxy.gi();
j.runScript("myscript.jsfl",{method:"helloWorld",params:["test"],escapeParams:true,responseFormat:"XML",responseWasEscape:true});
| trase | () | method |
public function trase(msg:*, escap:Boolean = false):voidTrace to output.
Parametersmsg:* — An object to trace out.
|
|
escap:Boolean (default = false) — Whether or not to escape the trace.
|