# Need help on passing arrays from javascript to as3

**URL:** <https://forum.kirupa.com/t/need-help-on-passing-arrays-from-javascript-to-as3/214944>\
**Category:** flash\
**Created:** [February 2, 2007, 6:08am UTC](https://forum.kirupa.com/t/need-help-on-passing-arrays-from-javascript-to-as3/214944 "2007-02-02T06:08:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![glidealong](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@glidealong](https://forum.kirupa.com/u/glidealong)\
**Post date:** [February 2, 2007, 6:08am UTC](https://forum.kirupa.com/t/need-help-on-passing-arrays-from-javascript-to-as3/214944/1 "2007-02-02T06:08:54Z")

</div>

I am working on a break through technology which brings together Audio DSP, Embedded, C/C++ and Javascript/AS3. I am in charge of getting the javascript/as3 done and I am facing a very grave problem. :tired: . Any help is appreciated.

I need to send Arrays to and fro Javascript / Actionscript 3.  
I tried the javascript/as gateway from [http://osflash.org/flashjs](http://osflash.org/flashjs). It’s done in actionscript 2 and I might have to migrate it to as3. I am not sure how long it would take.

And I tried the ExternalInterface class in AS3. But it seems only strings can be passed using the addCallBack() and call() methods. Moreover I was not able to reslove the security issues when the flash player tried to communicate with the javascript.

Please share your experiences in this respect.

Thanks to all…
