multiple js objects sharing information

May 25, 2013 at 7:57am

multiple js objects sharing information

Read  the Max tutorials about java and the global object, but cannot find out, how  js objects share Infomations. Woulf like to create an array in one js object and share it with another js object.

Thanks for any help!


May 25, 2013 at 8:18am

The Global object should allow you to do this, otherwise the new Dict object should work too.

May 25, 2013 at 9:06am

Found the solution for me:

first js pbject:

glob = new Global(“bounce”);

glob.a_array = new Array;

creating array b_array in second js object, then:

glob = new Global(“bounce”);




You must be logged in to reply to this topic.