|
|||
|
Hello,
I'm trying to solve a problem of communicating between a FLEX application and SWFKIT. When running a FFishScript Script usiung "ffish_run", is there ANY WAY to PASS variables INTO the script? I'm looking for something like: theEncryptedString = ExternalInterface.call("ffish_run","EncryptString" ,"TEST_STRING"); Thanks in Advance for ANY assistance? |
|
|||
|
for using variables in a ffish_script I always do it this way.
I write a function in Ffish like Code:
function EncryptString(string){
blablabla
}
Code:
TEST_STRING = "sometest"
theEncryptedString = ExternalInterface.call("ffish_eval","EncryptString('"+TEST_STRING+"')");
|
|
|||
|
Thanks for your reply.
What I don't understand is how to declare the SCRIPT in SWFKit to accept a parameter. This script is calling a DLL, and the SWFKit folks have previously told me that this HAS to be done within SWFKit instead of within functions in Flash/Flex. I've yet to find any way to tell SWFKit that a Script should accept an input parameter. Best Regards, Steve |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|