|
|||
|
What's the maximum size of data that can be sent to SWFKit from Flash and vice-versa using the FFish commands?
Code:
fscommand("FFish_Eval", "saveFile(\""+vFileName+"\",\""+ largeString +"\")");
If there's such a limit, is there a better way to transfer the XML data into SWFKit from Flash and back into Flash when the user chooses and loads a new XML file? Thanks, Steve |
|
|||
|
Could you please send us the content of the xml file?
Passing strings by the fscommand could bring some problems. One problem is that the 'vfilename' string may contain slashes, e.g. c:\test.xml. When you passed it to swfkit as you did, swfkit got the call Code:
saveFile("c:\test.xml", "xxxxxxxxxxxxxxxxxxxxxxxxxx");
Code:
saveFile("c:\\test.xml", "xxxxxxxxxxxxxxxxxxxxxxxxxx");
To resolve the problem, please pass variable names to swfkit and use the FlashPlayer.setVariable method to get the content of the string. The attached sample shows how to do this. It has been tested with a 311K xml file and it works well. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|