FSCProxy Documentation

Author: Martijn de Visser - http://www.martijndevisser.com
Last Modified: 06/18/04 01:31:55


Summary

FSCProxy Class:

- description

FSCProxy Methods:

- addEventListener
- removeEventListener
- execute


FSCProxy class

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:


FSCProxy Methods:

addEventListener

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:

usage: myFSCProxy.addEventListener(event, listener)

parameters:

returns: Nothing.

removeEventListener

description: Stops a listener from receiving the specified event.

usage: myFSCProxy.removeEventListener(event, listener)

parameters:

returns: Nothing.

execute

description: Executes an fscommand.

usage: myFSCProxy.execute( fscommand, arguments, callback, scope );

parameters:

returns: Nothing.




generated with AS2docGenerator beta 0.5