[haXe] Sending parameters to Flash from HTML/Javascript

Nicolas Cannasse ncannasse at motion-twin.com
Thu Dec 14 09:57:26 CET 2006


> Hi, I'm a new to this list and a HaXe newbie.
>  
> Just managed to plot a circle in HaXe/Flash 8, not like the blob of a
> circle given in the Adobe documentation for curveTo :)
>  
> How do I go about sending and getting parameters from the HTML or
> Javascript ?

You can use "FlashVars" in your OBJECT tag, check Google.

> Is there also anyway to get at the hosting JavaScript environment and
> cookies.

Yes, using haXe remoting, see http://haxe.org/tutos/remoting/flash_js

Nicolas



More information about the Haxe mailing list