SparkWeb JavaScript Programmatic Interface

I’m aware of: http://www.igniterealtime.org/community/docs/DOC-1400

However, I wan’t more control of SparkWeb from JavaScript. Would it be possible to have JavaScript call the Flash functions?

I’ve come across a few examples of JS/Flash communication, most use ExternalInterface (http://livedocs.adobe.com/flex/2/langref/flash/external/ExternalInterface.html)

There is also FABridge, which is now part of Flex3 SDK.

http://livedocs.adobe.com/flex/3/html/help.html?content=ajaxbridge_1.html

Is there a way to get the sources for SparkWeb and then add this bridge so that I can access SparkWeb programmatically from JS?

I’m not too familiar with Flash. So could someone point me in the right direction to do the following:

Retrieve the SparkWeb Actionscript files.

Recompile with FABridge included.

Programmatically access the Sparkweb Actionscript from JavaScript.

I have Flex3 and Flex SDK. Would this be the tools to use?