How to pass array via ExternalInterface.call in Actionscript 2.0
Posted
by Beck
on Stack Overflow
See other posts from Stack Overflow
or by Beck
Published on 2010-05-06T10:30:48Z
Indexed on
2010/05/06
10:38 UTC
Read the original article
Hit count: 229
flash
|actionscript-2
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.
© Stack Overflow or respective owner