hi,
Thank you for your reply. I fixed the problem using scripting in SWF pro in itself. Now it is working.
(1) any how I tried your method as well. it is not working properly. Cannot figure out why is that.
(2) I have the database connetion, data retrieving in FFish scripts. All are working well. I am passing retrieved values to flash using the code :
FlashPlayer.setVariable("_root.win1.text" , ball1Count.toString());
this works fine.
But the problem is when I want to set variable value in action script, it is not working.
//---Action Script Code---//
var test;
FSCommand("FFish_Run", "database");
FSCommand("FFish_Run", "count");
...
...
// FFish script ------------//
FlashPlayer.setVariable("_root.test" , "100");
But the variable "test" is always 'undefined' .
Please help me with this issue.
Thank you.
|