0

我在这里遇到了真正的麻烦。我是 Flash 的新手,我创建了一个表单,然后我需要将数据发布到 URL。我不知道如何做到这一点,我在网上找到的只是包含 PHP 的信息。

任何帮助表示赞赏,并提前感谢您

4

1 回答 1

0

您使用的是哪个 actionscript 版本?

对于 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-在-as2

于 2013-01-31T13:29:36.440 回答