I have a problem with loading a json into an array.
Mostly it works fine. But there are some files who cannot load into an array.
This issue is only on the Mobile Device. On PC and iOS Simulator the app is working fine.
At first I thought the problem is the array. But now I've seen that the lastData of the Ajax object is empty on loading completed.
ONLY on the iOS Mobile Device (iPhone 5s). But other JSONs are working. The array size its not really decisive.
x,y,z = summary: result
1100,5,1 = 5500: is working
808,7,1 = 5656; is not working
698,12,1 = 8376; is not working
88,1,1, = 8376; is not working
The JSON is 100% compatible to the Array.
As I said: The problem is the AJAX Object.
On Ajax "ajax" completed -> Ajax.lastDate = ""; (Tested with a text object.)
On the iOS Emulator (xcode) the game is working fine. AJAX load ALL JSONs. But on the real device the AJAX just load a few of JSON-Files. Strange!