我在这里遇到了麻烦。我是Flash的新手,并创建了一个表单,然后我需要将数据发布到URL。我不知道如何做到这一点,我在网上找到的所有信息都包括PHP。
感谢任何帮助,并提前感谢您
答案 0 :(得分:0)
您使用的是哪个动作脚本?
对于actionscript2,您需要使用LoadVars(此处为sendAndLoad示例http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001161.html)
对于actionscript3,您需要使用URLRequest和URLLoader(此处为http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html#includeExamplesSummary示例)
actionscript3引用的编写非常可怕且不可读,所以你可能想查看这篇文章http://labs.grupow.com/blog/2008/11/06/sending-variables-in-as3-aka-sendandload-in-as2