How to pass array via ExternalInterface.call in Actionscript 2.0
- by Beck
ExternalInterface.call("create_platform",var1,var2,var3...);
I need:
ExternalInterface.call("create_platform",mycars);
Tried like that:
mycars = new Array();
mycars["fast"] = "peugoet 306";
mycars["sporty"] = "citreon saxo";
mycars["old"] = "ford fiesta";
ExternalInterface.call("create_platform",mycars);
Javascript shows empty array;
Thanks.