问题
I am trying to play with google's swiffy to convert as2 content into html5.
so far it has been amazing.
using getURL, I can make javascript calls.
But, will I be able to get sort of response from a server or javascript?
回答1:
Yes. You can call stage.setFlashVars('response=10'); from the JavaScript after which _level0.response should be set in AS2. But getURL returns before _level0.response is set. So a you should wait a little bit with setTimeout or onEnterFrame.
来源:https://stackoverflow.com/questions/9213225/get-a-response-from-javascript-in-a-googles-swiffy-content-flash-converted-to