access global vars with browser execute javascript

Get help using Construct 2

Post » Fri Dec 20, 2013 4:32 pm

Hi,

I try to access to global variable with my custom javascript
Add event > System > On start of layout > Browser > Execute javascript > alert(this.runtime.all_global_vars);

In my Chrome Desktop, it works and return an array with all vars, but when I try it on an Android device or an iOs device, the game crash.

Any idea ?
B
5
Posts: 14
Reputation: 355

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, oosyrag, tinhofiel and 23 guests