|
|||
|
Once in a while the PrintPreparedReport prints two copies of the form.
Few years ago I had the same problem and TopCCM told me to use something like FFish_async I cannot find anythink about it on this forum nor in the help. What is the proper command? Thankx. |
|
|||
|
Yes, please try the ffish_asyncrun instead of the ffish_run command to call the relevant script. This is because during the print process, the flash movie is still running. But the fscommand("ffish_run", ...) command does not return until the print process is over. Then it comes to this case: the flash player is running, and it finds that a fscommand does not return so that it may treat the fscommand is failed and sends it again. In this case, the flash player sends the fscommand twice so you get two copies.
The ffish_asyncrun command avoids this problem. When you call this command, it does nothing but place the ffish script to be called on a list and return. So the flash player will not send the fscommand again. When the flash player is idle, swfkit will get a script from the list and call it. So the ffish_asyncrun can work. In flash player 8, we do not need fscommand any more. It give us chance to call external methods directly and synchronously. However, we have not test the PrintPreparedReport method under this situation yet. We will test it and make the swfkit pro 3 the best swf2exe tool. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|