Retrieve POST data in my flash movie
I have a web page with a button that does a redirect to another web page with a flash movie in it. The button 开发者_高级运维on the first page sends http post data as part of it's functionality.
How do I read this post data in my flash movie? Is this possible?
Not directly, POST data is sent to the server, which responds with a response body (and headers). You'll have to work with that data. However, you can of course put the POST data in your response body and give them to your swf that way, via FlashVars.
<param name="FlashVars" value="foo=bar">
Flash can access FlashVars as global variables.
精彩评论