next up previous contents
Next: FSCommands - Quit Up: FSCommands Previous: FSCommands - FFish_Eval   Contents


FSCommands - FFish_Run

Description

Excutes pre-compiled FFish Scripts.


Syntax

FSCommand("FFish_Run", scriptname)


Parameters

scriptname
A string specifies the name of the script to be executed.


Remarks

If the FFish Script needs to call the "processMsg" method, it's better to use the command "FFish_AsynRun" instead. For the "proceeMsg" method can enable the Flash Player to handle user inputs while the FSCommand is still running. The Flash Player may call the FSCommand again while the FSCommand is still running. That will make the FSCommand to be called twice or more times. The FFish_AsynRun command can avoid the problem.


Example

FSCommand("FFish_Run", "Connect");




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.