I am trying to play with google swiffy to convert the contents of as2 to html5.
while it was awesome.
using getURL, I can make javascript calls.
But, can I get a response from the server or javascript?
Yes. You can call stage.setFlashVars('response=10'); from JavaScript, after which _level0.response should be installed in AS2. But getURL returns before installing _level0.response . So you have to wait a bit with setTimeout or onEnterFrame .
stage.setFlashVars('response=10');
_level0.response
getURL
setTimeout
onEnterFrame