[osflash] OSFlash and object wrapping

Nicolas Cannasse ncannasse at motion-twin.com
Thu Jan 4 04:16:10 EST 2007


> OSFlash is very nice. We have considered using it at the Academic ADL
> Co-Lab to create a Macromedia Flash version of our e-Learning support
> library. One question, does the OSFlash library support instantiation of
> and communication with JavaScript classes from ActionScript? That is, I
> know the library allows functions to be called across the languages, but
> can it create an ActionScript proxy object which forwards all method
> calls to a given JavaScript object and returns the results?
> 
>  
> 
> Our current JavaScript library is object oriented, and doesn’t offer
> freestanding functions which could be called from ActionScript. That is
> why such functionality interests us.

Hi Joe,

You might be interested in recoding the whole thing in haXe then
(http://haxe.org). You would be able to write both Flash and JS classes
in haXe and communicate transparently between the two by using haXe
Remoting (http://haxe.org/tutos/remoting/flash_js)

Nicolas



More information about the osflash mailing list