exec fl.trace("hello from flash");
Start the server,
Open a shell and launch your favorite tcp client to connect yourself to the Laziza JSFL server (Replace host/IP with a valid hostname or IP address) :
from a telnet client, type telnet host/IP 1212
from putty, type putty host/IP 1212
from netcat type netcat host/IP 1212
Executing a JSFL command is very simple. The bellow example will display ‘Hello from flash’
exec fl.trace("hello from flash");
The commands are non case sensitive.
Command | Description |
---|---|
HELP | Display the help |
EXIT | Abort connection |
EXEC | Execute JSFL Commands |
multilines commands
Use exec at the end of lines sequences to execute a multiline command. fl.trace("Hello"); fl.trace("from flash"); EXEC will display ‘hello’ and ‘from flash’ on two lines. The EXEC word at the end of a multine sequence allow us to pipe scripts through the STDIN: |
Scripts can be executed through the STDIN, using the pipe mecanism. Here is an example using netcat:
$/bin/sh echo 'fl.trace("Hello from a JSFL script.");' > script echo 'EXEC' >> script echo 'EXIT' >> script cat script | nc {HOST/IP} 1212 rm script
About JSFL
|