I am trying to pass 2 variables from javascript to flash. I figured I could do something like this i as3 to try and recieve them.
ExternalInterface.addCallback("callAs", muscle, tension);
Sadly this throws an error
1137: Incorrect number of arguments. Expected no more than 2.
Is there a way to send 2 variables instead of having to make 2 calls each time?
Thanks in advance!
Resin
It is possible.
Then in Javascript you would have something like…
And you would trigger this with something like…