FSCProxy Documentation
Author: Martijn de Visser - http://www.martijndevisser.com
Last Modified: 06/18/04 01:31:55
Summary
FSCProxy Class:
FSCProxy Methods:
version: 0.0.2
description:
This class allows you to execute an fscommand and specify a callback function in which to handle to result. When no callback is specified, the class will attempt to execute "onFSCommandReady" in the context that was specified on construction.
usage:
The following creates an FSCProxy and then executes a Flash Studio Pro fscommand:var myProxy:FSCProxy = new FSCProxy(this);
myProxy.execute("flashstudio.getfilelist",["c:\\windows",".bmp"]);
parameters:
description: The following standard EventDispatcher events are broadcasted by an FSCProxy:
fscommandStart, broadcasted when an fscommand is issued, contains the following elements:
fscommandReady, broadcasted when an fscommand result is returned to Flash, contains the following elements:
- command: (String) fscommand that was executed.
- command: (String) fscommand that was executed,
- value: (String) value returned by fscommand.
usage: myFSCProxy.addEventListener(event, listener)
parameters:
returns: Nothing.
description: Stops a listener from receiving the specified event.
usage: myFSCProxy.removeEventListener(event, listener)
parameters:
returns: Nothing.
description: Executes an fscommand.
usage: myFSCProxy.execute( fscommand, arguments, callback, scope );
parameters:
returns: Nothing.