Excuse me for double post, but please answer me when you have free time as soon as possible. At least whether is it internal bug for sure or i need to continue searching errors in my events. I became very disappointed, because i invested a lot of time to make this project and now can't understand how to make it work.
In chrome error looks a bit different.
"[quote:udxa2bgr]Cannot read property 'length' of undefined
http://localhost:50000/Arr_plugin.js, line 65 (col 22)
This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.
So, col 22 instead of 14 and property 'length' instead of 'a'.
In console i see:
"[quote:udxa2bgr]Arr_plugin.js:65 Uncaught TypeError: Cannot read property 'length' of undefined
and when i press to view code in developer tool of Chrome i see that "for (i = 0, len = a.length; i < len; i++)" in next code is underlined and marked as error:
[quote:udxa2bgr]function freeArray(a)
{
// Try to recycle any other arrays stored in this array
var i, len;
for (i = 0, len = a.length; i < len; i++)
{
if (Array.isArray(a))
freeArray(a);
}
a.length = 0;
arrCache.push(a);
};