|
|||
|
Perhaps I'm missing something here but, the following code does not work :
//Initialize var sw_player = new FlashPlayer; if(File.exists("c:\\STE-1234.txt")){ DataFile.load("c:\\STE-1234.txt"); sw_player.putArray("_root.sw_answers", sw_answers); sw_player.putArray("_root.sw_questions", sw_questions); sw_player.setVariable("_root.sw_totquest", "sw_totquest"); sw_player.setVariable("_root.sw_temp99", "sw_dialog"); } The save functions work fine (not shown), including getArray and getVariable. Have viewed the result text file and seems to be in order. However the above code does not pass the data back to Flash, in fact the putArray crashes the system. Any clues. BTW - I haven't included all the code here, I have declared all array objects and assigned vars (both sides). SWAN ... |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|