2 ms·
For the ActionScript part just use your JS text, it's all ECMAScript. Mozilla is even <a href="http://www.mozilla.org/projects/tamarin/ http://www.mozilla.org/
by swies 19y ago
For the ActionScript part just use your JS text, it's all ECMAScript. Mozilla is even <a href="http://www.mozilla.org/projects/tamarin/ http://www.mozilla.org/projects/tamarin/">integrating the ActionScript VM</a> to speed up Javascript.
As for Flex, the API is documented <a href="http://livedocs.adobe.com/labs/flex/3/langref/ http://livedocs.adobe.com/labs/flex/3/langref/">here</a>. It's not too bad as long as you remember to wait for completion/ready events from objects before using them. Here are a couple <a href="http://labs.adobe.com/wiki/index.php/Flex_3 http://labs.adobe.com/wiki/index.php/Flex_3">other</a> <a href="http://flex.org/ http://flex.org/">resources</a> too.
All in all Flex feels kind of clunky. I think Adobe spent more time worrying about a maintaining a clean separation between designers and developers than making either end of it particularly elegant. That said, it's cool to have such a powerful platform running in most peoples' browsers.